类 SerializingBufferWriter

  • 所有已实现的接口:
    CompletionHandler<Long,​Void>

    public class SerializingBufferWriter
    extends Object
    implements CompletionHandler<Long,​Void>
    A layer over AsynchronousSocketChannel that serializes all incoming write requests. This means we queue any incoming buffer and don't begin writing it until the previous buffer has been written fully. All buffers are transmitted atomically with respect to the caller/callback.