com.sun.grizzly.async
Class AsyncQueueReadUnit
java.lang.Object
com.sun.grizzly.async.AsyncQueueReadUnit
public class AsyncQueueReadUnit
- extends java.lang.Object
AsyncQueue write data unit
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
byteBuffer
protected java.nio.ByteBuffer byteBuffer
callbackHandler
protected AsyncReadCallbackHandler callbackHandler
condition
protected AsyncReadCondition condition
readPostProcessor
protected AsyncQueueDataProcessor readPostProcessor
future
protected java.util.concurrent.Future<AsyncQueueReadUnit> future
AsyncQueueReadUnit
public AsyncQueueReadUnit()
set
public void set(java.nio.ByteBuffer byteBuffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor,
java.util.concurrent.Future<AsyncQueueReadUnit> future)
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
setByteBuffer
public void setByteBuffer(java.nio.ByteBuffer byteBuffer)
getCallbackHandler
public AsyncReadCallbackHandler getCallbackHandler()
setCallbackHandler
public void setCallbackHandler(AsyncReadCallbackHandler callbackHandler)
getCondition
public AsyncReadCondition getCondition()
setCondition
public void setCondition(AsyncReadCondition condition)
getReadPostProcessor
public AsyncQueueDataProcessor getReadPostProcessor()
setReadPostProcessor
public void setReadPostProcessor(AsyncQueueDataProcessor readPostProcessor)
getFuture
public java.util.concurrent.Future<AsyncQueueReadUnit> getFuture()
setFuture
public void setFuture(java.util.concurrent.Future<AsyncQueueReadUnit> future)
Copyright © 2012 Oracle Corporation. All Rights Reserved.