21 package org.opensplice.dds.core.policy;
23 import java.util.concurrent.TimeUnit;
32 private static final long serialVersionUID = 1583305102265712684L;
44 if (duration == null) {
46 "Supplied invalid duration.");
48 this.duration = duration;
62 public boolean equals(Object other) {
66 return this.duration.equals(((LatencyBudgetImpl) other).duration);
82 .getSPI().newDuration(duration, unit));
92 return 31 * 17 + this.duration.hashCode();
Specifies the maximum acceptable delay from the time the data is written until the data is inserted i...
LatencyBudget withDuration(long duration, TimeUnit unit)
Copy this policy and override the value of the property.
boolean equals(Object other)
OsplServiceEnvironment environment
LatencyBudget withDuration(Duration duration)
Copy this policy and override the value of the property.
LatencyBudgetImpl(OsplServiceEnvironment environment)
Comparable< LatencyBudget > requestedOfferedContract()
ServiceProviderInterface getSPI()
This class is the abstract root for all the QoS policies.
LatencyBudgetImpl(OsplServiceEnvironment environment, Duration duration)
Class<? extends QosPolicy > getPolicyClass()
A span of elapsed time expressed with nanosecond precision.
int compareTo(LatencyBudget o)