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 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
originalMessage
protected Object originalMessage
message
protected Object message
future
protected Future future
currentResult
protected R currentResult
completionHandler
protected CompletionHandler completionHandler
interceptor
protected Interceptor interceptor
isRecycled
protected boolean isRecycled
recycleTrack
protected DebugPoint recycleTrack
AsyncQueueRecord
public AsyncQueueRecord(Connection connection,
Object originalMessage,
Future future,
R currentResult,
CompletionHandler completionHandler,
Interceptor interceptor)
set
protected final void set(Connection connection,
Object originalMessage,
Future future,
R currentResult,
CompletionHandler completionHandler,
Interceptor interceptor)
getConnection
public Connection getConnection()
getOriginalMessage
public Object getOriginalMessage()
getMessage
public final Object getMessage()
setMessage
public final void setMessage(Object message)
getFuture
public final Future getFuture()
setFuture
public void setFuture(Future future)
getCurrentResult
public final R getCurrentResult()
getCompletionHandler
public final CompletionHandler getCompletionHandler()
getInterceptor
public final Interceptor getInterceptor()
checkRecycled
protected final void checkRecycled()
Copyright © 2011 Oracle Corpration. All Rights Reserved.