CoreDX DDS for Java
from Twin Oaks Computing, Inc.

com.toc.coredx.DDS
Class HistoryQosPolicy

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

public class HistoryQosPolicy
extends java.lang.Object

Controls the ammount of historical data maintained by a DataReader or DataWriter. The history kind can be set to KEEP_ALL_HISTORY_QOS or KEEP_LAST_HISTORY_QOS.

If the history kind is KEEP_LAST, then the history depth field is used to determine the number of samples to keep. The default setting is KEEP_LAST with a depth of 1. This means that for a single sample (the most recent) is kept for each data instance. If the history kind is KEEP_ALL, then the depth field is unused, and all samples will be kept, within the limits set by the ResourceLimits QoS policy.

This QoS policy must be consistent with the ResourceLimits policy.

See Also:
ResourceLimitsQosPolicy

Field Summary
 int depth
           
 HistoryQosPolicyKind kind
           
 
Constructor Summary
HistoryQosPolicy()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kind

public HistoryQosPolicyKind kind

depth

public int depth
Constructor Detail

HistoryQosPolicy

public HistoryQosPolicy()

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