DurabilityServiceQosPolicy Class Reference
[DURABILITY_SERVICE]

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

Inheritance diagram for DurabilityServiceQosPolicy:

QosPolicy

List of all members.

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.


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 DurabilityQosPolicyKind.PERSISTENT_DURABILITY_QOS or 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 DurabilityQosPolicyKind.PERSISTENT_DURABILITY_QOS or 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

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

The kind of history to apply in recouping durable data.

[default] HistoryQosPolicyKind.KEEP_LAST_HISTORY_QOS

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

[default] 1

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

[default] ResourceLimitsQosPolicy.LENGTH_UNLIMITED

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

[default] ResourceLimitsQosPolicy.LENGTH_UNLIMITED

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

[default] ResourceLimitsQosPolicy.LENGTH_UNLIMITED


RTI Connext Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc