org.codehaus.gpars

groovyx.gpars.actor
[Java] Class ActorTimerTask

java.lang.Object
  groovyx.gpars.actor.ActorTimerTask
All Implemented Interfaces:
java.lang.Runnable

final class ActorTimerTask

Represents an ongoing timeout

Authors:
Vaclav Pech


Field Summary
private AbstractLoopingActor actor

private boolean cancelled

private int id

 
Constructor Summary
ActorTimerTask(AbstractLoopingActor actor, int id)

 
Method Summary
void cancel()

int getId()

void run()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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


cancelled

private boolean cancelled


id

private final int id


 
Constructor Detail

ActorTimerTask

ActorTimerTask(AbstractLoopingActor actor, int id)


 
Method Detail

cancel

public void cancel()


getId

public int getId()


run

@java.lang.SuppressWarningspublic int getId() {
@java.lang.Overridereturn id;
public void run()


 

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