org.codehaus.gpars

groovyx.gpars.actor
[Java] Class ActorTimerTask

java.lang.Object
  java.util.TimerTask
      groovyx.gpars.actor.ActorTimerTask

final class ActorTimerTask
extends java.util.TimerTask

Represents an ongoing timeout

Authors:
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
java.util.TimerTask#run(), java.util.TimerTask#cancel(), java.util.TimerTask#scheduledExecutionTime(), java.util.TimerTask#wait(long), java.util.TimerTask#wait(), java.util.TimerTask#wait(long, int), java.util.TimerTask#equals(java.lang.Object), java.util.TimerTask#toString(), java.util.TimerTask#hashCode(), java.util.TimerTask#getClass(), java.util.TimerTask#notify(), java.util.TimerTask#notifyAll()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

actor

private final AbstractLoopingActor actor


id

private final int id


 
Constructor Detail

ActorTimerTask

ActorTimerTask(AbstractLoopingActor actor, int id)


 
Method Detail

getId

public int getId()


run

@SuppressWarnings({"CatchGenericClass"})
@Override
public void run()


 

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