21 package org.opensplice.dds.core.policy;
23 import java.util.concurrent.TimeUnit;
32 private static final long serialVersionUID = -3533726043203132941L;
52 "Supplied invalid period.");
63 return this.period.compareTo(o.
getPeriod());
67 public boolean equals(Object other) {
71 return this.period.equals(((DeadlineImpl) other).period);
76 return 31 * 17 + this.period.hashCode();
boolean equals(Object other)
OsplServiceEnvironment environment
DeadlineImpl(OsplServiceEnvironment environment)
int compareTo(Deadline o)
DeadlineImpl(OsplServiceEnvironment environment, Duration period)
DeadlineImpl(OsplServiceEnvironment environment, long period, TimeUnit unit)
ServiceProviderInterface getSPI()
Deadline withPeriod(long period, TimeUnit unit)
Copy this policy and override the value of the property.
This class is the abstract root for all the QoS policies.
Comparable< Deadline > requestedOfferedContract()
A span of elapsed time expressed with nanosecond precision.
Duration infiniteDuration()
Class<? extends QosPolicy > getPolicyClass()
org.omg.dds.sub.DataReader expects a new sample updating the value of each instance at least once eve...
Deadline withPeriod(Duration period)
Copy this policy and override the value of the property.
static Duration newDuration(long duration, TimeUnit unit, ServiceEnvironment env)
Construct a time duration of the given magnitude.