| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgroovyx.gpars.serial.WithSerialId
groovyx.gpars.actor.impl.MessageStream
groovyx.gpars.actor.Actor
groovyx.gpars.actor.impl.ReplyingMessageStream
groovyx.gpars.actor.impl.SequentialProcessingActor
groovyx.gpars.actor.AbstractPooledActor
groovyx.gpars.actor.impl.RunnableBackedPooledActor
@Deprecated public class RunnableBackedPooledActor
Utility class to implement AbstractPooledActor backed by any Runnable (including Closure)
| Nested Class Summary | |
|---|---|
private static class | 
RunnableBackedPooledActor.RunnableBackedPooledActorDelegate
Deprecated.  | 
| Nested classes/interfaces inherited from class groovyx.gpars.actor.Actor | 
|---|
Actor.MyRemoteHandle, Actor.RemoteActor | 
| Nested classes/interfaces inherited from class groovyx.gpars.actor.impl.MessageStream | 
|---|
MessageStream.RemoteMessageStream, MessageStream.SendTo | 
| Field Summary | |
|---|---|
private  java.lang.Runnable | 
action
Deprecated.  | 
private static long | 
serialVersionUID
Deprecated.  | 
| Fields inherited from class groovyx.gpars.actor.impl.SequentialProcessingActor | 
|---|
afterLoopCode, loopCode, loopCondition, S_ACTIVE_MASK, S_FINISHED_MASK, S_FINISHING_MASK, S_NOT_STARTED, S_RUNNING, S_STOP_TERMINATE_MASK, S_STOPPED, S_STOPPING, S_TERMINATED, S_TERMINATING, stopFlag, stopFlagUpdater | 
| Fields inherited from class groovyx.gpars.actor.impl.ReplyingMessageStream | 
|---|
obj2Sender | 
| Fields inherited from class groovyx.gpars.actor.Actor | 
|---|
ACTOR_HAS_ALREADY_BEEN_STARTED, currentThread, parallelGroup, START_MESSAGE, STOP_MESSAGE, TERMINATE_MESSAGE, TIMEOUT, TIMEOUT_MESSAGE, timer | 
| Fields inherited from class groovyx.gpars.serial.WithSerialId | 
|---|
serialHandle | 
| Constructor Summary | |
|---|---|
RunnableBackedPooledActor(java.lang.Runnable handler)
Deprecated.  | 
|
| Method Summary | |
|---|---|
protected  void | 
act()
Deprecated. This method represents the body of the actor.  | 
protected  void | 
setAction(java.lang.Runnable handler)
Deprecated.  | 
| Methods inherited from class groovyx.gpars.actor.AbstractPooledActor | 
|---|
handleStart, receive, receive, receive, receiveImpl, receiveImpl | 
| Methods inherited from class groovyx.gpars.actor.impl.SequentialProcessingActor | 
|---|
handleTermination, hasBeenStopped, checkStopTerminate, isActive, loop, loop, loop, loop, loop, pollMessage, react, react, react, react, receive, receive, receive, run, runReaction, send, setParallelGroup, scheduleLoop, silentStart, start, stop, sweepNextMessage, takeMessage, takeMessage, terminate | 
| Methods inherited from class groovyx.gpars.actor.impl.ReplyingMessageStream | 
|---|
getSender, getSenders, reply, replyIfExists, runEnhancedWithRepliesOnMessages | 
| Methods inherited from class groovyx.gpars.actor.Actor | 
|---|
createActorMessage, createRemoteHandle, deregisterCurrentActorWithThread, getJoinLatch, getParallelGroup, handleException, handleInterrupt, handleTimeout, isActorThread, join, join, join, join, onStop, registerCurrentActorWithThread, sendAndContinue, threadBoundActor | 
| Methods inherited from class groovyx.gpars.actor.impl.MessageStream | 
|---|
call, getRemoteClass, leftShift, reInterrupt, send, send, sendAndWait, sendAndWait, sendAndWait | 
| Methods inherited from class groovyx.gpars.serial.WithSerialId | 
|---|
getOrCreateSerialHandle, writeReplace | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private static final long serialVersionUID
private java.lang.Runnable action
| Constructor Detail | 
|---|
public RunnableBackedPooledActor(java.lang.Runnable handler)
| Method Detail | 
|---|
protected final void setAction(java.lang.Runnable handler)
protected final void act()
AbstractPooledActorActor's
 message handling code.
act in class AbstractPooledActor
  | 
Copyright © 2008–2010 Václav Pech. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||