RTI Connext .Net APIs  Version 6.0.0
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 DDS::DurabilityQosPolicyKind::PERSISTENT_DURABILITY_QOS or DDS::DurabilityQosPolicyKind::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
 Part of history QoS policy to apply when feeding a late joiner. 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 DDS::DurabilityQosPolicyKind::PERSISTENT_DURABILITY_QOS or DDS::DurabilityQosPolicyKind::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 DDS::DurabilityQosPolicyKind::PERSISTENT_DURABILITY_QOS or DDS::DurabilityQosPolicyKind::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 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] DDS::HistoryQosPolicyKind::KEEP_LAST_HISTORY_QOS

◆ history_depth

System::Int32 DDS::DurabilityServiceQosPolicy::history_depth

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

[default] 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


RTI Connext .Net APIs Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc