RTI Connext .NET API (legacy)  Version 6.1.1
DDS::DurabilityServiceQosPolicy Struct Reference

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a DDS::DurabilityQosPolicy setting of PERSISTENT_DURABILITY_QOS or TRANSIENT_DURABILITY_QOS. More...

#include <managed_infrastructure.h>

Static Public Member Functions

static System::String ^ get_durabilityservice_qos_policy_name ()
 Stringified human-readable name for DDS::DurabilityServiceQosPolicy. More...
 

Public Attributes

Duration_t service_cleanup_delay
 Controls when the service is able to remove all information regarding a data instances. More...
 
HistoryQosPolicyKind history_kind
 The kind of history to apply in recouping durable data. More...
 
System::Int32 history_depth
 Setting to use for the DDS::DurabilityQosPolicy::writer_depth when recouping durable data. More...
 
System::Int32 max_samples
 Part of resource limits QoS policy to apply when feeding a late joiner. More...
 
System::Int32 max_instances
 Part of resource limits QoS policy to apply when feeding a late joiner. More...
 
System::Int32 max_samples_per_instance
 Part of resource limits QoS policy to apply when feeding a late joiner. More...
 

Detailed Description

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a DDS::DurabilityQosPolicy setting of PERSISTENT_DURABILITY_QOS or TRANSIENT_DURABILITY_QOS.

Entity:
DDS::Topic, DDS::DataWriter
Properties:
RxO = NO
Changeable = UNTIL ENABLE
See also
DURABILITY
HISTORY
RESOURCE_LIMITS

Usage

When a DataWriter's DDS::DurabilityQosPolicy::kind is PERSISTENT_DURABILITY_QOS or TRANSIENT_DURABILITY_QOS, an external service, the RTI Persistence Service, is used to store and possibly forward the data sent by the DDS::DataWriter to DDS::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 DDS::DataWriter, such as how much data to store. For example, it configures the DURABILITY, 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

◆ service_cleanup_delay

Duration_t DDS::DurabilityServiceQosPolicy::service_cleanup_delay

Controls when the service is able to remove all information regarding a data instances.

When the service cleanup delay is set to 0, disposed instances will be completely removed from the service. Only values of 0 and DDS::Duration_t::DURATION_INFINITE are currently supported.

[default] 0

◆ history_kind

HistoryQosPolicyKind DDS::DurabilityServiceQosPolicy::history_kind

The kind of history to apply in recouping durable data.

[default] KEEP_LAST_HISTORY_QOS

◆ history_depth

System::Int32 DDS::DurabilityServiceQosPolicy::history_depth

Setting to use for the DDS::DurabilityQosPolicy::writer_depth when recouping durable data.

If the DDS::HistoryQosPolicy::depth is set to a value lower than this value, DDS::HistoryQosPolicy::depth will be set equal to the value of this field.

[default] DDS::DurabilityQosPolicy::AUTO_WRITER_DEPTH (1)

◆ max_samples

System::Int32 DDS::DurabilityServiceQosPolicy::max_samples

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

[default] DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED

◆ max_instances

System::Int32 DDS::DurabilityServiceQosPolicy::max_instances

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

[default] DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED

◆ max_samples_per_instance

System::Int32 DDS::DurabilityServiceQosPolicy::max_samples_per_instance

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

[default] DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED