Module io.netty5.transport
Package io.netty5.channel

Class PendingWriteQueue


  • public final class PendingWriteQueue
    extends Object 
    A queue of write operations which are pending for later execution.
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Returns true if there are no pending write operations left in this queue.
      • size

        public int size()
        Returns the number of pending write operations.
      • bytes

        public long bytes()
        Returns the total number of bytes that are pending because of pending messages. This is only an estimate so it should only be treated as a hint.
      • current

        public Object current()
        Return the current message or null if empty.