RTI Connext C# API  6.1.0
DurabilityService Class Reference

Configures an external Persistence Service used for Datawriters with a Durability.Kind of DurabilityKind.Persistent or DurabilityKind.Transient More...

Inherits IEquatable< DurabilityService >.

Public Member Functions

DurabilityService With (Action< DurabilityServiceBuilder > build)
 Creates a new DurabilityService with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (DurabilityService other)
 Compares for equality More...
 

Properties

Duration ServiceCleanupDelay [get]
 Controls when the service is able to remove all information regarding a data instances. More...
 
HistoryKind HistoryKind [get]
 The kind of history to apply in recouping durable data. More...
 
int HistoryDepth [get]
 Part of history QoS policy to apply when feeding a late joiner. More...
 
int MaxSamples [get]
 Part of resource limits QoS policy to apply when feeding a late joiner. More...
 
int MaxInstances [get]
 Part of resource limits QoS policy to apply when feeding a late joiner. More...
 
int MaxSamplesPerInstance [get]
 Part of resource limits QoS policy to apply when feeding a late joiner. More...
 
static DurabilityService Default [get]
 Singleton containing the default value of a DurabilityService More...
 

Detailed Description

Configures an external Persistence Service used for Datawriters with a Durability.Kind of DurabilityKind.Persistent or DurabilityKind.Transient

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( DurabilityService  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

DurabilityService With ( Action< DurabilityServiceBuilder build)

Creates a new DurabilityService with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the current values of this DurabilityService.
Returns
A new DurabilityService with the changes applied by the Action

Property Documentation

◆ Default

DurabilityService Default
staticget

Singleton containing the default value of a DurabilityService

◆ HistoryDepth

int HistoryDepth
get

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

The full documentation is available in the C API: DDS_DurabilityServiceQosPolicy::history_depth

◆ HistoryKind

The kind of history to apply in recouping durable data.

The full documentation is available in the C API: DDS_DurabilityServiceQosPolicy::history_kind

◆ MaxInstances

int MaxInstances
get

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

The full documentation is available in the C API: DDS_DurabilityServiceQosPolicy::max_instances

◆ MaxSamples

int MaxSamples
get

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

The full documentation is available in the C API: DDS_DurabilityServiceQosPolicy::max_samples

◆ MaxSamplesPerInstance

int MaxSamplesPerInstance
get

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

The full documentation is available in the C API: DDS_DurabilityServiceQosPolicy::max_samples_per_instance

◆ ServiceCleanupDelay

Duration ServiceCleanupDelay
get

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

The full documentation is available in the C API: DDS_DurabilityServiceQosPolicy::service_cleanup_delay