akka.util.internal
Interface TimerTask


public interface TimerTask

A task which is executed after the delay specified with Timer#newTimeout(TimerTask, long, java.util.concurrent.TimeUnit) .


Method Summary
 void run(Timeout timeout)
          Executed after the delay specified with Timer#newTimeout(TimerTask, long, java.util.concurrent.TimeUnit) .
 

Method Detail

run

void run(Timeout timeout)
         throws java.lang.Exception
Executed after the delay specified with Timer#newTimeout(TimerTask, long, java.util.concurrent.TimeUnit) .

Parameters:
timeout - a handle which is associated with this task
Throws:
java.lang.Exception