CoreDX DDS for Java
from Twin Oaks Computing, Inc.

com.toc.coredx.DDS
Class DurabilityServiceQosPolicy

java.lang.Object
  extended by com.toc.coredx.DDS.DurabilityServiceQosPolicy

public class DurabilityServiceQosPolicy
extends java.lang.Object

The DurablityServiceQosPolicy supports the durablity of data. The DDS API identifies several degrees of data durability.

  1. VOLATILE: The data is volatile, and is not persisted beyond the initial publication.
  2. TRANSIENT_LOCAL: The data is persisted locally within the source DataWriter. If that DataWriter is destroyed, or the containing application exits, the data is no longer available.
  3. TRANSIENT: The data is persisted beyond the lifecycle of the originating DataWriter, and is available even after that DataWriter has been destroyed. However, data does not persist a reboot of the computer.
  4. PERSISTENT: The data is persisted to 'off-line' storage, and is available even after a system reboot.
If a durability of TRANSIENT or PERSISTENT is specified, then a service beyond the source DataWriter must be established to provide advanced data durability. This QoS policy helps to configure that durablity service.

CoreDX DDS currently supports VOLATILE and TRANSIENT_LOCAL.


Field Summary
 int history_depth
           
 HistoryQosPolicyKind history_kind
           
 int max_instances
           
 int max_samples
           
 int max_samples_per_instance
           
 Duration_t service_cleanup_delay
           
 
Constructor Summary
DurabilityServiceQosPolicy()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service_cleanup_delay

public Duration_t service_cleanup_delay

history_kind

public HistoryQosPolicyKind history_kind

history_depth

public int history_depth

max_samples

public int max_samples

max_instances

public int max_instances

max_samples_per_instance

public int max_samples_per_instance
Constructor Detail

DurabilityServiceQosPolicy

public DurabilityServiceQosPolicy()

Copyright © 2010 Twin Oaks Computing, Inc,
All Rights Reserved