com.caucho.config.async
Class AsyncQueue

java.lang.Object
  extended by com.caucho.env.thread.AbstractTaskWorker
      extended by com.caucho.env.thread.TaskWorker
          extended by com.caucho.config.async.AsyncQueue
All Implemented Interfaces:
java.lang.Runnable

public class AsyncQueue
extends TaskWorker

Represents the @Asynchronous interception


Constructor Summary
AsyncQueue()
           
 
Method Summary
 void offer(java.lang.Runnable task)
           
 long runTask()
           
 
Methods inherited from class com.caucho.env.thread.TaskWorker
startWorkerThread
 
Methods inherited from class com.caucho.env.thread.AbstractTaskWorker
destroy, getCurrentTimeActual, getThreadName, isClosed, isPermanent, isTaskActive, onThreadComplete, onThreadStart, run, setLoopCount, setWorkerIdleTimeout, toString, wake
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsyncQueue

public AsyncQueue()
Method Detail

offer

public void offer(java.lang.Runnable task)

runTask

public final long runTask()
Specified by:
runTask in class AbstractTaskWorker