org.glassfish.grizzly.asyncqueue
Class AsyncQueueRecord<R>
java.lang.Object
org.glassfish.grizzly.asyncqueue.AsyncQueueRecord<R>
- All Implemented Interfaces:
- Cacheable
- Direct Known Subclasses:
- AsyncReadQueueRecord, AsyncWriteQueueRecord
public abstract class AsyncQueueRecord<R>
- extends java.lang.Object
- implements Cacheable
AsyncQueue element unit
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
protected Connection connection
message
protected Buffer message
future
protected java.util.concurrent.Future future
currentResult
protected R currentResult
completionHandler
protected CompletionHandler completionHandler
isRecycled
protected boolean isRecycled
recycleTrack
protected DebugPoint recycleTrack
AsyncQueueRecord
public AsyncQueueRecord(Connection connection,
Buffer message,
java.util.concurrent.Future future,
R currentResult,
CompletionHandler completionHandler)
set
protected final void set(Connection connection,
Buffer message,
java.util.concurrent.Future future,
R currentResult,
CompletionHandler completionHandler)
getConnection
public Connection getConnection()
getMessage
public final Buffer getMessage()
setMessage
public final void setMessage(Buffer message)
getFuture
public final java.util.concurrent.Future getFuture()
setFuture
public void setFuture(java.util.concurrent.Future future)
getCurrentResult
public final R getCurrentResult()
getCompletionHandler
public final CompletionHandler getCompletionHandler()
checkRecycled
protected final void checkRecycled()
Copyright © 2011 Oracle Corpration. All Rights Reserved.