org.glassfish.grizzly.asyncqueue
Class AsyncReadQueueRecord

java.lang.Object
  extended by org.glassfish.grizzly.asyncqueue.AsyncQueueRecord<ReadResult>
      extended by org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord
All Implemented Interfaces:
Cacheable

public final class AsyncReadQueueRecord
extends AsyncQueueRecord<ReadResult>

AsyncQueue read element unit

Author:
Alexey Stashok

Field Summary
protected  Interceptor interceptor
           
 
Fields inherited from class org.glassfish.grizzly.asyncqueue.AsyncQueueRecord
completionHandler, connection, currentResult, isRecycled, message, recycleTrack
 
Method Summary
static AsyncReadQueueRecord create(Connection connection, Buffer message, ReadResult currentResult, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor)
           
 Interceptor getInterceptor()
           
 boolean isFinished()
           
 void notifyComplete()
           
 void recycle()
           
protected  void reset()
           
 
Methods inherited from class org.glassfish.grizzly.asyncqueue.AsyncQueueRecord
checkRecycled, getConnection, getCurrentResult, getMessage, notifyFailure, notifyIncomplete, set, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interceptor

protected Interceptor interceptor
Method Detail

create

public static AsyncReadQueueRecord create(Connection connection,
                                          Buffer message,
                                          ReadResult currentResult,
                                          CompletionHandler completionHandler,
                                          Interceptor<ReadResult> interceptor)

getInterceptor

public final Interceptor getInterceptor()

notifyComplete

public final void notifyComplete()

isFinished

public boolean isFinished()

reset

protected final void reset()

recycle

public void recycle()


Copyright © 2012 Oracle Corporation. All Rights Reserved.