OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.omg.dds.core.policy.Durability.Kind Enum Reference
Collaboration diagram for org.omg.dds.core.policy.Durability.Kind:
Collaboration graph

Public Attributes

 PERSISTENT
 Data is kept on permanent storage, so that they can outlive a system session. More...
 
 TRANSIENT
 The Service will attempt to keep some samples so that they can be delivered to any potential late-joining org.omg.dds.sub.DataReader. More...
 
 TRANSIENT_LOCAL
 The Service will attempt to keep some samples so that they can be delivered to any potential late-joining org.omg.dds.sub.DataReader. More...
 
 VOLATILE
 The Service does not need to keep any samples of data instances on behalf of any org.omg.dds.sub.DataReader that is not known by the org.omg.dds.pub.DataWriter at the time the instance is written. More...
 

Detailed Description

Definition at line 169 of file Durability.java.

Member Data Documentation

◆ PERSISTENT

org.omg.dds.core.policy.Durability.Kind.PERSISTENT

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

Support for PERSISTENT kind is optional.

Definition at line 208 of file Durability.java.

◆ TRANSIENT

org.omg.dds.core.policy.Durability.Kind.TRANSIENT

The Service will attempt to keep some samples so that they can be delivered to any potential late-joining org.omg.dds.sub.DataReader.

Which particular samples are kept depends on other QoS such as org.omg.dds.core.policy.History and org.omg.dds.core.policy.ResourceLimits.

For TRANSIENT, the service is only required to keep the data in memory and not in permanent storage; but the data is not tied to the life cycle of the org.omg.dds.pub.DataWriter and will, in general, survive it. Support for TRANSIENT kind is optional.

Definition at line 202 of file Durability.java.

◆ TRANSIENT_LOCAL

org.omg.dds.core.policy.Durability.Kind.TRANSIENT_LOCAL

The Service will attempt to keep some samples so that they can be delivered to any potential late-joining org.omg.dds.sub.DataReader.

Which particular samples are kept depends on other QoS such as org.omg.dds.core.policy.History and org.omg.dds.core.policy.ResourceLimits.

For TRANSIENT_LOCAL, the service is only required to keep the data in the memory of the org.omg.dds.pub.DataWriter that wrote the data and the data is not required to survive the DataWriter.

Definition at line 189 of file Durability.java.

◆ VOLATILE

org.omg.dds.core.policy.Durability.Kind.VOLATILE

The Service does not need to keep any samples of data instances on behalf of any org.omg.dds.sub.DataReader that is not known by the org.omg.dds.pub.DataWriter at the time the instance is written.

In other words the Service will only attempt to provide the data to existing subscribers. This is the default kind.

Definition at line 177 of file Durability.java.


The documentation for this enum was generated from the following file: