Class SslHandler.SslHandlerCoalescingBufferQueue

  • Enclosing class:
    SslHandler

    private final class SslHandler.SslHandlerCoalescingBufferQueue
    extends AbstractCoalescingBufferQueue
    Each call to SSL_write will introduce about ~100 bytes of overhead. This coalescing queue attempts to increase goodput by aggregating the plaintext in chunks of SslHandler.wrapDataSize. If many small chunks are written this can increase goodput, decrease the amount of calls to SSL_write, and decrease overall encryption operations.