public interface LatencyBudget extends QosPolicy.ForTopic, QosPolicy.ForDataReader, QosPolicy.ForDataWriter, RequestedOffered<LatencyBudget>
Topic
, DataReader
, DataWriter
RxO: Yes
Changeable: Yes
This policy provides a means for the application to indicate to the
middleware the "urgency" of the data communication. By having a non-zero
duration the Service can optimize its internal operation.
This policy is considered a hint. There is no specified mechanism as to
how the service should take advantage of this hint.
The value offered is considered compatible with the value requested if and
only if the inequality "offered duration <= requested duration" evaluates
to true.QosPolicy.ForDataReader, QosPolicy.ForDataWriter, QosPolicy.ForDomainParticipant, QosPolicy.ForDomainParticipantFactory, QosPolicy.ForPublisher, QosPolicy.ForSubscriber, QosPolicy.ForTopic
Modifier and Type | Method and Description |
---|---|
Duration |
getDuration() |
LatencyBudget |
withDuration(Duration duration)
Copy this policy and override the value of the property.
|
LatencyBudget |
withDuration(long duration,
TimeUnit unit)
Copy this policy and override the value of the property.
|
getEnvironment
requestedOfferedContract
compareTo
Duration getDuration()
LatencyBudget withDuration(Duration duration)
LatencyBudget withDuration(long duration, TimeUnit unit)
Copyright © 2014. All rights reserved.