RTI Connext Java API  Version 5.1.0
DurabilityQosPolicyKind Class Reference

Kinds of durability. More...

Inheritance diagram for DurabilityQosPolicyKind:
Enum Copyable

Static Public Attributes

static final
DurabilityQosPolicyKind 
VOLATILE_DURABILITY_QOS
 [default] RTI Connext does not need to keep any samples of data instances on behalf of any com.rti.dds.subscription.DataReader that is unknown by the com.rti.dds.publication.DataWriter at the time the instance is written.
 
static final
DurabilityQosPolicyKind 
TRANSIENT_LOCAL_DURABILITY_QOS
 RTI Connext will attempt to keep some samples so that they can be delivered to any potential late-joining com.rti.dds.subscription.DataReader.
 
static final
DurabilityQosPolicyKind 
TRANSIENT_DURABILITY_QOS
 RTI Connext will attempt to keep some samples so that they can be delivered to any potential late-joining com.rti.dds.subscription.DataReader.
 
static final
DurabilityQosPolicyKind 
PERSISTENT_DURABILITY_QOS
 Data is kept on permanent storage, so that they can outlive a system session.
 

Additional Inherited Members

- Public Member Functions inherited from Enum
final int ordinal ()
 The integral value of this enumerated constant.
 
Object copy_from (Object src)
 
final String name ()
 The name of this enum constant, as declared in the enum declaration.
 
final String toString ()
 The string value of this enum constant.
 
- Protected Member Functions inherited from Enum
 Enum (String name, int ordinal)
 The constructor.
 

Detailed Description

Member Data Documentation

final DurabilityQosPolicyKind VOLATILE_DURABILITY_QOS
static

[default] RTI Connext does not need to keep any samples of data instances on behalf of any com.rti.dds.subscription.DataReader that is unknown by the com.rti.dds.publication.DataWriter at the time the instance is written.

In other words, RTI Connext will only attempt to provide the data to existing subscribers.

This option does not require RTI Persistence Service.

final DurabilityQosPolicyKind TRANSIENT_LOCAL_DURABILITY_QOS
static

RTI Connext will attempt to keep some samples so that they can be delivered to any potential late-joining com.rti.dds.subscription.DataReader.

Which particular samples are kept depends on other QoS such as com.rti.dds.infrastructure.HistoryQosPolicy and com.rti.dds.infrastructure.ResourceLimitsQosPolicy. RTI Connext is only required to keep the data in memory of the com.rti.dds.publication.DataWriter that wrote the data.

Data is not required to survive the com.rti.dds.publication.DataWriter.

For this setting to be effective, you must also set the com.rti.dds.infrastructure.ReliabilityQosPolicy.kind to com.rti.dds.infrastructure.ReliabilityQosPolicyKind.ReliabilityQosPolicyKind.RELIABLE_RELIABILITY_QOS.

This option does not require RTI Persistence Service.

final DurabilityQosPolicyKind TRANSIENT_DURABILITY_QOS
static

RTI Connext will attempt to keep some samples so that they can be delivered to any potential late-joining com.rti.dds.subscription.DataReader.

Which particular samples are kept depends on other QoS such as com.rti.dds.infrastructure.HistoryQosPolicy and com.rti.dds.infrastructure.ResourceLimitsQosPolicy. RTI Connext is only required to keep the data in memory and not in permanent storage.

Data is not tied to the lifecycle of the com.rti.dds.publication.DataWriter.

Data will survive the com.rti.dds.publication.DataWriter.

This option requires RTI Persistence Service.

final DurabilityQosPolicyKind PERSISTENT_DURABILITY_QOS
static

Data is kept on permanent storage, so that they can outlive a system session.

This option requires RTI Persistence Service.


RTI Connext Java API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc