![]() |
OpenSplice Java 5 DCPS
v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
|
Public Attributes | |
KEEP_ALL | |
On the publishing side, the Service will attempt to keep all samples (representing each value written) of each instance of data (identified by its key) managed by the org.omg.dds.pub.DataWriter until they can be delivered to all subscribers. More... | |
KEEP_LAST | |
On the publishing side, the Service will only attempt to keep the most recent "depth" samples (org.omg.dds.core.policy.History#getDepth()) of each instance of data (identified by its key) managed by the org.omg.dds.pub.DataWriter. More... | |
Definition at line 128 of file History.java.
org.omg.dds.core.policy.History.Kind.KEEP_ALL |
On the publishing side, the Service will attempt to keep all samples (representing each value written) of each instance of data (identified by its key) managed by the org.omg.dds.pub.DataWriter until they can be delivered to all subscribers.
On the subscribing side, the Service will attempt to keep all samples of each instance of data (identified by its key) managed by the org.omg.dds.sub.DataReader. These samples are kept until the application "takes" them from the Service via org.omg.dds.sub.DataReader#take(). The setting of depth has no effect. Its implied value is org.omg.dds.core.policy.ResourceLimits#LENGTH_UNLIMITED.
Definition at line 155 of file History.java.
org.omg.dds.core.policy.History.Kind.KEEP_LAST |
On the publishing side, the Service will only attempt to keep the most recent "depth" samples (org.omg.dds.core.policy.History#getDepth()) of each instance of data (identified by its key) managed by the org.omg.dds.pub.DataWriter.
On the subscribing side, the DataReader will only attempt to keep the most recent "depth" samples received for each instance (identified by its key) until the application "takes" them via org.omg.dds.sub.DataReader#take(). KEEP_LAST is the default kind. The default value of depth is 1. If a value other than 1 is specified, it must be consistent with the settings of the org.omg.dds.core.policy.ResourceLimits.
Definition at line 141 of file History.java.