Package org.glassfish.grizzly.asyncqueue
Class RecordReadResult<K,L>
- java.lang.Object
-
- org.glassfish.grizzly.ReadResult<K,L>
-
- org.glassfish.grizzly.asyncqueue.RecordReadResult<K,L>
-
- Type Parameters:
K
-L
-
public final class RecordReadResult<K,L> extends ReadResult<K,L>
Read result associated with aAsyncWriteQueueRecord
.- Author:
- Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description RecordReadResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recycle()
protected void
set(Connection<L> connection, K message, L srcAddress, int readSize)
One method to set all the WriteResult properties.-
Methods inherited from class org.glassfish.grizzly.ReadResult
copy, create, create, getConnection, getMessage, getReadSize, getSrcAddress, getSrcAddressHolder, reset, setMessage, setReadSize, setSrcAddress, setSrcAddressHolder
-
-
-
-
Method Detail
-
set
protected void set(Connection<L> connection, K message, L srcAddress, int readSize)
Description copied from class:ReadResult
One method to set all the WriteResult properties.- Overrides:
set
in classReadResult<K,L>
- Parameters:
connection
- the connection the data was read frommessage
- the message which was readsrcAddress
- the source address the message was read fromreadSize
- number of bytes which were read
-
-