java.lang.Object
io.helidon.common.socket.SocketWriter
io.helidon.common.socket.SmartSocketWriter
- All Implemented Interfaces:
DataWriter,AutoCloseable
A special socket write that starts async but may switch to sync mode if it
detects that the async queue size is below
QUEUE_SIZE_THRESHOLD.
If it switches to sync mode, it shall never return back to async mode.-
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(BufferData buffer) voidwrite(BufferData... buffers) Methods inherited from class io.helidon.common.socket.SocketWriter
close, create, create, socket, writeNow, writeNowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.common.buffers.DataWriter
flush
-
Method Details
-
write
-
write
-