RTI Connext Java API  Version 5.0.0
HistoryQosPolicyKind Class Reference

Kinds of history. More...

Inheritance diagram for HistoryQosPolicyKind:
Enum Copyable

Static Public Attributes

static final HistoryQosPolicyKind KEEP_LAST_HISTORY_QOS
 [default] Keep the last depth samples.
 
static final HistoryQosPolicyKind KEEP_ALL_HISTORY_QOS
 Keep all the samples.
 

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 HistoryQosPolicyKind KEEP_LAST_HISTORY_QOS
static

[default] Keep the last depth samples.

On the publishing side, RTI Connext will only attempt to keep the most recent depth samples of each instance of data (identified by its key) managed by the com.rti.dds.publication.DataWriter.

On the subscribing side, the com.rti.dds.subscription.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 the com.rti.dds.subscription.DataReader 's take() operation.

final HistoryQosPolicyKind KEEP_ALL_HISTORY_QOS
static

Keep all the samples.

On the publishing side, RTI Connext will attempt to keep all samples (representing each value written) of each instance of data (identified by its key) managed by the com.rti.dds.publication.DataWriter until they can be delivered to all subscribers.

On the subscribing side, RTI Connext will attempt to keep all samples of each instance of data (identified by its key) managed by the com.rti.dds.subscription.DataReader. These samples are kept until the application takes them from RTI Connext via the take() operation.


RTI Connext Java API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc