com.sun.grizzly.async
Class AsyncQueueReaderContextTask
java.lang.Object
com.sun.grizzly.ContextTask
com.sun.grizzly.SelectionKeyContextTask
com.sun.grizzly.async.AsyncQueueReaderContextTask
- All Implemented Interfaces:
- java.lang.Runnable, java.util.concurrent.Callable
public class AsyncQueueReaderContextTask
- extends SelectionKeyContextTask
AsyncQueueReader task, which will be executed by
Context, when Context.execute(ContextTask)
is called.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncQueueReaderContextTask
public AsyncQueueReaderContextTask(AsyncQueueReader asyncQueueReader)
afterCall
protected void afterCall()
- Overrides:
afterCall in class SelectionKeyContextTask
beforeCall
protected void beforeCall()
- Overrides:
beforeCall in class SelectionKeyContextTask
doCall
public java.lang.Object doCall()
throws java.lang.Exception
- Specified by:
doCall in class SelectionKeyContextTask
- Throws:
java.lang.Exception
getAsyncQueueReader
public AsyncQueueReader getAsyncQueueReader()
setAsyncQueueReader
public void setAsyncQueueReader(AsyncQueueReader asyncQueueReader)
recycle
public void recycle()
- Overrides:
recycle in class ContextTask
Copyright © 2012 Oracle Corporation. All Rights Reserved.