Package org.onlab.util
Class Timer
- java.lang.Object
- 
- org.onlab.util.Timer
 
- 
 public final class Timer extends Object Hashed-wheel timer singleton. Care must be taken to shutdown the timer only when the VM is ready to exit.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.util.TimeoutnewTimeout(io.netty.util.TimerTask task, long delay, TimeUnit unit)Executes one-shot timer task on shared thread pool.
 
- 
- 
- 
Method Detail- 
newTimeoutpublic static io.netty.util.Timeout newTimeout(io.netty.util.TimerTask task, long delay, TimeUnit unit)Executes one-shot timer task on shared thread pool.- Parameters:
- task- timer task to execute
- delay- before executing the task
- unit- of delay
- Returns:
- a handle which is associated with the specified task
 
 
- 
 
-