Readable.
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadCache. | |
| private Connection | connection
Connection, from which data were read. |
| private boolean | |
| private K | message
message data |
| private int | readSize
Number of bytes read. |
| private Holder | srcAddressHolder
Source address. |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Object | |
| public static <K, L> ReadResult | |
| public static <K, L> ReadResult | |
| public final Connection | Returns: theConnection data were read from.Implements org. Get the |
| public final K | |
| public final int | Returns: the number of bytes, which were read.Get the number of bytes, which were read. |
| public final L | Returns: the source address, the message was read from.Get the source address, the message was read from. |
| public final Holder | Returns: the source address, the message was read from.Get the source address, the message was read from. |
| public void | |
| protected void | |
| protected void | set(final Connection<L>
the connection the data was read from connection, final K the message which was read message, final L the source address the message was read from srcAddress, final int number of bytes which were read readSize)One method to set all the WriteResult properties. |
| public final void | |
| public final void | setReadSize(int
the number of bytes, which were read. readSize)Set the number of bytes, which were read. |
| public final void | setSrcAddress(L
the source address, the message was read from. srcAddress)Set the source address, the message was read from. |
| public final void | setSrcAddressHolder(Holder<L>
the source address, the message was read from. srcAddressHolder)Set the source address, the message was read from. |
| private static <K, L> ReadResult |
| CACHE_IDX | back to summary |
|---|---|
| private static final ThreadCache. | |
| connection | back to summary |
|---|---|
| private Connection<L> connection Connection, from which data were read. | |
| isRecycled | back to summary |
|---|---|
| private boolean isRecycled | |
| message | back to summary |
|---|---|
| private K message message data | |
| readSize | back to summary |
|---|---|
| private int readSize Number of bytes read. | |
| srcAddressHolder | back to summary |
|---|---|
| private Holder<L> srcAddressHolder Source address. | |
| ReadResult | back to summary |
|---|---|
| protected ReadResult() | |
| ReadResult | back to summary |
|---|---|
| protected ReadResult(final Connection<L> connection) | |
| ReadResult | back to summary |
|---|---|
| protected ReadResult(final Connection<L> connection, final K message, final L srcAddress, final int readSize) | |
| checkRecycled | back to summary |
|---|---|
| private void checkRecycled() | |
| copy | back to summary |
|---|---|
| public Object copy() Implements org.
| |
| create | back to summary |
|---|---|
| public static <K, L> ReadResult | |
| create | back to summary |
|---|---|
| public static <K, L> ReadResult | |
| getConnection | back to summary |
|---|---|
| public final Connection Implements org. Get the
| |
| getMessage | back to summary |
|---|---|
| public final K getMessage() Get the message, which was read.
| |
| getReadSize | back to summary |
|---|---|
| public final int getReadSize() Get the number of bytes, which were read.
| |
| getSrcAddress | back to summary |
|---|---|
| public final L getSrcAddress() Get the source address, the message was read from.
| |
| getSrcAddressHolder | back to summary |
|---|---|
| public final Holder Get the source address, the message was read from.
| |
| recycle | back to summary |
|---|---|
| public void recycle() Implements org.
| |
| reset | back to summary |
|---|---|
| protected void reset() | |
| set | back to summary |
|---|---|
| protected void set(final Connection<L> connection, final K message, final L srcAddress, final int readSize) One method to set all the WriteResult properties.
| |
| setMessage | back to summary |
|---|---|
| public final void setMessage(K message) Set the message, which was read.
| |
| setReadSize | back to summary |
|---|---|
| public final void setReadSize(int readSize) Set the number of bytes, which were read.
| |
| setSrcAddress | back to summary |
|---|---|
| public final void setSrcAddress(L srcAddress) Set the source address, the message was read from.
| |
| setSrcAddressHolder | back to summary |
|---|---|
| public final void setSrcAddressHolder(Holder<L> srcAddressHolder) Set the source address, the message was read from.
| |
| takeFromCache | back to summary |
|---|---|
private static <K, L> ReadResult
| |