21 package org.opensplice.dds.core.policy;
29 private static final long serialVersionUID = -3661996204819852834L;
30 private final Kind kind;
41 if (this.kind == null) {
43 "Supplied kind is null.");
57 if (other.equals(
this.kind)) {
77 public boolean equals(Object other) {
81 return (this.kind == ((DurabilityImpl) other).kind);
86 return 31 * 17 + this.kind.hashCode();
VOLATILE
The Service does not need to keep any samples of data instances on behalf of any org.omg.dds.sub.DataReader that is not known by the org.omg.dds.pub.DataWriter at the time the instance is written.
Durability withVolatile()
DurabilityImpl(OsplServiceEnvironment environment, Kind kind)
OsplServiceEnvironment environment
boolean equals(Object other)
Durability withPersistent()
Durability withKind(Kind kind)
Copy this policy and override the value of the property.
TRANSIENT
The Service will attempt to keep some samples so that they can be delivered to any potential late-joi...
int compareTo(Durability o)
PERSISTENT
Data is kept on permanent storage, so that they can outlive a system session.
Class<? extends QosPolicy > getPolicyClass()
This class is the abstract root for all the QoS policies.
TRANSIENT_LOCAL
The Service will attempt to keep some samples so that they can be delivered to any potential late-joi...
Durability withTransient()
Comparable< Durability > requestedOfferedContract()
DurabilityImpl(OsplServiceEnvironment environment)
This policy expresses if the data should "outlive" their writing time.
Durability withTransientLocal()