RTI Connext Java API  Version 6.0.0
 All Classes Namespaces Functions Variables Groups Pages
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.
 
final Object clone () throws CloneNotSupportedException
 

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. Invalid samples represeting a disposal or unregistration of an instance do not count towards the history depth.

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.
Invalid samples represeting a dispoasal or unregistration of an instance do count towards the history depth and may therefore replace a value of the instance currently being stored in the reader queue.

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 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc