| Modifier and Type | Class and Description |
|---|---|
| public static interface | WriteHandleFactory.WriteHandle
Handle which allows to customize how data / messages are read. |
| Modifier and Type | Method and Description |
|---|---|
| public WriteHandleFactory. | newHandle(Channel
the channel)Channel for which the WriteHandle is used.Creates a new handle for the given |
| newHandle | back to summary |
|---|---|
| public WriteHandleFactory. Creates a new handle for the given
| |
| Modifier and Type | Method and Description |
|---|---|
| public default long | estimatedMaxBytesPerGatheringWrite()
Estimate the maximum number of bytes that can be written with one gathering write operation. |
| public boolean | Returns: true if the write loop should continue writing, false otherwise.The number of bytes the write operation did attempt to write. attemptedBytesWrite, long The number of bytes from the previous write operation. This may be negative if a
write error occurs. actualBytesWrite, int The number of messages written. numMessagesWrite)Notify the |
| public void |
| estimatedMaxBytesPerGatheringWrite | back to summary |
|---|---|
| public default long estimatedMaxBytesPerGatheringWrite() Estimate the maximum number of bytes that can be written with one gathering write operation. | |
| lastWrite | back to summary |
|---|---|
| public boolean lastWrite(long attemptedBytesWrite, long actualBytesWrite, int numMessagesWrite) Notify the
| |
| writeComplete | back to summary |
|---|---|
| public void writeComplete() Method that must be called once the write loop was completed. | |