Class AprEndpoint.SocketList

  • Enclosing class:
    AprEndpoint

    public static class AprEndpoint.SocketList
    extends Object
    • Field Detail

      • size

        protected volatile int size
      • pos

        protected int pos
      • sockets

        protected long[] sockets
      • timeouts

        protected long[] timeouts
      • flags

        protected int[] flags
    • Constructor Detail

      • SocketList

        public SocketList​(int size)
    • Method Detail

      • size

        public int size()
      • clear

        public void clear()
      • add

        public boolean add​(long socket,
                           long timeout,
                           int flag)
      • remove

        public boolean remove​(long socket)