java.lang.Object
org.glassfish.grizzly.ReadResult<K,L>
org.glassfish.grizzly.asyncqueue.RecordReadResult<K,L>
- Type Parameters:
K-L-
Read result associated with a
AsyncWriteQueueRecord.- Author:
- Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.glassfish.grizzly.ReadResult
copy, create, create, getConnection, getMessage, getReadSize, getSrcAddress, getSrcAddressHolder, reset, setMessage, setReadSize, setSrcAddress, setSrcAddressHolder
-
Constructor Details
-
RecordReadResult
public RecordReadResult()
-
-
Method Details
-
set
Description copied from class:ReadResultOne method to set all the WriteResult properties.- Overrides:
setin 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
-
recycle
public void recycle()
-