Writeable.
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadCache. | |
| private Connection | connection
Connection, from which data were read. |
| private Holder | dstAddressHolder
Destination address. |
| private boolean | |
| private K | message
message data |
| private long | writtenSize
Number of bytes written. |
| Access | Constructor and Description |
|---|---|
| protected | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Object | |
| public static <K, L> WriteResult | |
| public static <K, L> WriteResult | |
| protected Holder | |
| public final Connection | Returns: theConnection data were read from.Implements org. Get the |
| public final L | Returns: the destination address, the message was written to.Get the destination address, the message was written to. |
| public final Holder | Returns: the destination address, the message was written to.Get the destination address, the message was written to. |
| public final K | |
| public final long | Returns: the number of bytes, which were written.Get the number of bytes, which were written. |
| public void | |
| protected void | |
| protected void | set(final Connection<L> connection, final K message, final L dstAddress, final long writtenSize)
One method to set all the WriteResult properties. |
| public final void | setDstAddress(final L
the destination address, the message was written to. dstAddress)Set the destination address, the message was written to. |
| public final void | setDstAddressHolder(final Holder<L>
the destination address, the message was written to. dstAddressHolder)Set the destination address, the message was written to. |
| public final void | |
| public final void | setWrittenSize(long
the number of bytes, which were written. writeSize)Set the number of bytes, which were written. |
| private static <K, L> WriteResult |
| CACHE_IDX | back to summary |
|---|---|
| private static final ThreadCache. | |
| connection | back to summary |
|---|---|
| private Connection<L> connection Connection, from which data were read. | |
| dstAddressHolder | back to summary |
|---|---|
| private Holder<L> dstAddressHolder Destination address. | |
| isRecycled | back to summary |
|---|---|
| private boolean isRecycled | |
| message | back to summary |
|---|---|
| private K message message data | |
| writtenSize | back to summary |
|---|---|
| private long writtenSize Number of bytes written. | |
| WriteResult | back to summary |
|---|---|
| protected WriteResult() | |
| WriteResult | back to summary |
|---|---|
| private WriteResult(final Connection<L> connection) | |
| WriteResult | back to summary |
|---|---|
| private WriteResult(Connection<L> connection, K message, L dstAddress, long writeSize) | |
| checkRecycled | back to summary |
|---|---|
| private void checkRecycled() | |
| copy | back to summary |
|---|---|
| public Object copy() Implements org.
| |
| create | back to summary |
|---|---|
| public static <K, L> WriteResult | |
| create | back to summary |
|---|---|
| public static <K, L> WriteResult | |
| createAddrHolder | back to summary |
|---|---|
| protected Holder Create an address holder. | |
| getConnection | back to summary |
|---|---|
| public final Connection Implements org. Get the
| |
| getDstAddress | back to summary |
|---|---|
| public final L getDstAddress() Get the destination address, the message was written to.
| |
| getDstAddressHolder | back to summary |
|---|---|
| public final Holder Get the destination address, the message was written to.
| |
| getMessage | back to summary |
|---|---|
| public final K getMessage() Get the message, which was read.
| |
| getWrittenSize | back to summary |
|---|---|
| public final long getWrittenSize() Get the number of bytes, which were written.
| |
| 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 dstAddress, final long writtenSize) One method to set all the WriteResult properties. | |
| setDstAddress | back to summary |
|---|---|
| public final void setDstAddress(final L dstAddress) Set the destination address, the message was written to.
| |
| setDstAddressHolder | back to summary |
|---|---|
| public final void setDstAddressHolder(final Holder<L> dstAddressHolder) Set the destination address, the message was written to.
| |
| setMessage | back to summary |
|---|---|
| public final void setMessage(K message) Set the message, which was read.
| |
| setWrittenSize | back to summary |
|---|---|
| public final void setWrittenSize(long writeSize) Set the number of bytes, which were written.
| |
| takeFromCache | back to summary |
|---|---|
private static <K, L> WriteResult
| |