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 java.lang.Object message
currentResult
protected R currentResult
completionHandler
protected CompletionHandler completionHandler
isRecycled
protected boolean isRecycled
recycleTrack
protected DebugPoint recycleTrack
AsyncQueueRecord
public AsyncQueueRecord(Connection connection,
java.lang.Object message,
R currentResult,
CompletionHandler completionHandler)
set
protected final void set(Connection connection,
java.lang.Object message,
R currentResult,
CompletionHandler completionHandler)
getConnection
public Connection getConnection()
getMessage
public final <T> T getMessage()
setMessage
public final void setMessage(java.lang.Object message)
getCurrentResult
public final R getCurrentResult()
notifyFailure
public void notifyFailure(java.lang.Throwable e)
notifyIncomplete
public final void notifyIncomplete()
checkRecycled
protected final void checkRecycled()
Copyright © 2012 Oracle Corporation. All Rights Reserved.