RTI Connext Java API  Version 5.1.0
DurabilityServiceQosPolicy Class Reference

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a com.rti.dds.infrastructure.DurabilityQosPolicy setting of com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT_DURABILITY_QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT_DURABILITY_QOS. More...

Inheritance diagram for DurabilityServiceQosPolicy:
QosPolicy

Public Attributes

final Duration_t service_cleanup_delay
 [Not supported (optional)] Controls when the service is able to remove all information regarding a data instances.
 
HistoryQosPolicyKind history_kind
 The kind of history to apply in recouping durable data.
 
int history_depth
 Part of history QoS policy to apply when feeding a late joiner.
 
int max_samples
 Part of resource limits QoS policy to apply when feeding a late joiner.
 
int max_instances
 Part of resource limits QoS policy to apply when feeding a late joiner.
 
int max_samples_per_instance
 Part of resource limits QoS policy to apply when feeding a late joiner.
 
- Public Attributes inherited from QosPolicy
final QosPolicyId_t id
 The ID of this QoS policy.
 
final String policy_name
 The name of this QoS policy.
 

Additional Inherited Members

- Public Member Functions inherited from Struct
abstract boolean equals (Object obj)
 
abstract int hashCode ()
 
String toString ()
 
- Protected Member Functions inherited from Struct
 Struct ()
 
abstract void pull_from_nativeI (long native_status)
 
abstract void push_to_nativeI (long native_status)
 

Detailed Description

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a com.rti.dds.infrastructure.DurabilityQosPolicy setting of com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT_DURABILITY_QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT_DURABILITY_QOS.

Entity:
com.rti.dds.topic.Topic, com.rti.dds.publication.DataWriter
Properties:
RxO = NO
Changeable = UNTIL ENABLE
See Also
DURABILITY
HISTORY
RESOURCE_LIMITS

Usage

When a DataWriter's com.rti.dds.infrastructure.DurabilityQosPolicy.kind is com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.PERSISTENT_DURABILITY_QOS or com.rti.dds.infrastructure.DurabilityQosPolicyKind.DurabilityQosPolicyKind.TRANSIENT_DURABILITY_QOS, an external service, the RTI Persistence Service, is used to store and possibly forward the data sent by the com.rti.dds.publication.DataWriter to com.rti.dds.subscription.DataReader objects that are created after the data was initially sent.

This QoS policy is used to configure certain parameters of the Persistence Service when it operates on the behalf of the com.rti.dds.publication.DataWriter, such as how much data to store. For example, it configures the HISTORY and the RESOURCE_LIMITS used by the fictitious DataReader and DataWriter used by the Persistence Service. Note, however, that the Persistence Service itself may be configured to ignore these values and instead use values from its own configuration file.

Member Data Documentation

final Duration_t service_cleanup_delay
Initial value:
= new Duration_t(
Duration_t.DURATION_INFINITE_SEC, Duration_t.DURATION_INFINITE_NSEC)

[Not supported (optional)] Controls when the service is able to remove all information regarding a data instances.

[default] 0

HistoryQosPolicyKind history_kind

The kind of history to apply in recouping durable data.

[default] com.rti.dds.infrastructure.HistoryQosPolicyKind.HistoryQosPolicyKind.KEEP_LAST_HISTORY_QOS

int history_depth

Part of history QoS policy to apply when feeding a late joiner.

[default] 1

int max_samples

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED

int max_instances

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED

int max_samples_per_instance

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED


RTI Connext Java API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc