groovyx.gpars.actor
Class ActorTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by groovyx.gpars.actor.ActorTimerTask
All Implemented Interfaces:
java.lang.Runnable

final class ActorTimerTask
extends java.util.TimerTask

Represents an ongoing timeout

Author:
Vaclav Pech

Field Summary
private  AbstractLoopingActor actor
           
private  int id
           
 
Constructor Summary
ActorTimerTask(AbstractLoopingActor actor, int id)
           
 
Method Summary
 int getId()
           
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actor

private final AbstractLoopingActor actor

id

private final int id
Constructor Detail

ActorTimerTask

ActorTimerTask(AbstractLoopingActor actor,
               int id)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask

getId

public int getId()

Copyright © 2008–2010 Václav Pech. All Rights Reserved.