public class LatencyQuery extends Query
NativeObject.Initializer
defaultInit, LIFECYCLE, ownsHandle
Constructor and Description |
---|
LatencyQuery()
Constructs a new query stream position query object.
|
LatencyQuery(NativeObject.Initializer init) |
Modifier and Type | Method and Description |
---|---|
ClockTime |
getMaximumLatency()
Gets the maximum latency of the live element.
|
ClockTime |
getMinimumLatency()
Gets the minimum latency of the live element.
|
boolean |
isLive()
Gets whether the element has a live element upstream or not.
|
void |
setLatency(boolean live,
ClockTime minLatency,
ClockTime maxLatency)
Answers a latency query.
|
java.lang.String |
toString()
Gets the latency as a user-readable string.
|
getStructure, makeWritable
disposeNativeHandle, isWritable, makeWritable, ref, unref
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor
public LatencyQuery(NativeObject.Initializer init)
public LatencyQuery()
public void setLatency(boolean live, ClockTime minLatency, ClockTime maxLatency)
live
- if there is a live element upstreamminLatency
- the minimal latency of the live elementmaxLatency
- the maximal latency of the live elementpublic boolean isLive()
public ClockTime getMinimumLatency()
public ClockTime getMaximumLatency()
public java.lang.String toString()
toString
in class NativeObject