DurabilityQosPolicyKind Class Reference
[DURABILITY]

Kinds of durability. More...

Inheritance diagram for DurabilityQosPolicyKind:

Enum Copyable

List of all members.

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.


Detailed Description

Kinds of durability.

QoS:
com.rti.dds.infrastructure.DurabilityQosPolicy

Member Data Documentation

[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.

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 ReliabilityQosPolicyKind.RELIABLE_RELIABILITY_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.

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.

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


RTI Connext Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc