T
- the type of the valuepublic static class ControllableQueue.DelayNode<T> extends Object
Constructor and Description |
---|
DelayNode(T value,
long millis)
Constructs a new
ControllableQueue.DelayNode . |
Modifier and Type | Method and Description |
---|---|
long |
getDelay() |
T |
getValue() |
void |
setDelay(long delay)
Sets the delay.
|
public DelayNode(T value, long millis)
ControllableQueue.DelayNode
.value
- a valuemillis
- delay time in millisecondspublic T getValue()
public long getDelay()
public void setDelay(long delay)
delay
- the delay in millisecondsCopyright © 2023. All Rights Reserved.