RTI Connext Java API Version 7.1.0
InstanceStateRecoveryKind Class Reference

<<extension>> Whether instance state recovery is enabled. More...

Inheritance diagram for InstanceStateRecoveryKind:
Enum Copyable

Static Public Attributes

static final InstanceStateRecoveryKind NO_INSTANCE_STATE_RECOVERY
 Instance state is not restored on a DataReader after reconnecting with a DataWriter until the DataWriter sends a new sample. More...
 
static final InstanceStateRecoveryKind RECOVER_INSTANCE_STATE_RECOVERY
 Instance state is restored on the DataReader after it reconnects with a DataWriter that has regained liveliness, even before the DataWriter sends a new sample. More...
 

Additional Inherited Members

- Public Member Functions inherited from Enum
final int ordinal ()
 The integral value of this enumerated constant. More...
 
Object copy_from (Object src)
 
final String name ()
 The name of this enum constant, as declared in the enum declaration. More...
 
final String toString ()
 The string value of this enum constant. More...
 
Object copy_from (Object src)
 Copy value of a data type from source. More...
 
- Protected Member Functions inherited from Enum
 Enum (String name, int ordinal)
 The constructor. More...
 
final Object clone () throws CloneNotSupportedException
 

Detailed Description

<<extension>> Whether instance state recovery is enabled.

QoS:
com.rti.dds.infrastructure.ReliabilityQosPolicy

Member Data Documentation

◆ NO_INSTANCE_STATE_RECOVERY

final InstanceStateRecoveryKind NO_INSTANCE_STATE_RECOVERY
static

Instance state is not restored on a DataReader after reconnecting with a DataWriter until the DataWriter sends a new sample.

When DataReaders rediscover DataWriters, they will not request updated instance state data. DataWriters always provide instance state data alongside each sample update regardless of this setting.

◆ RECOVER_INSTANCE_STATE_RECOVERY

final InstanceStateRecoveryKind RECOVER_INSTANCE_STATE_RECOVERY
static

Instance state is restored on the DataReader after it reconnects with a DataWriter that has regained liveliness, even before the DataWriter sends a new sample.

When DataReaders rediscover DataWriters, they will request updated instance state data. DataWriters will respond to requests for updated instance state data and publish updates on the ServiceRequest channel. DataWriters still provide instance state data alongside each sample update regardless of this setting.