public final class TimerWheel.Timer
extends java.lang.Object
| Constructor and Description |
|---|
Timer() |
Timer(long deadline,
java.lang.Runnable task) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancel pending timer.
|
boolean |
isActive()
Is timer active or not
|
boolean |
isCancelled()
Was timer cancelled or not
|
boolean |
isExpired()
Has timer expired or not
|
void |
remove() |
void |
reset(long deadline,
java.lang.Runnable task) |
java.lang.String |
toString() |
public void reset(long deadline,
java.lang.Runnable task)
public boolean cancel()
public boolean isActive()
public boolean isCancelled()
public boolean isExpired()
public void remove()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.