Package one.nio.pool

Class Pool<T>

    • Field Detail

      • closed

        protected boolean closed
      • keepEmpty

        protected boolean keepEmpty
      • fifo

        protected boolean fifo
      • initialCount

        protected int initialCount
      • createdCount

        protected int createdCount
      • maxCount

        protected int maxCount
      • timeout

        protected int timeout
      • timeouts

        protected int timeouts
      • waitingThreads

        protected int waitingThreads
    • Constructor Detail

      • Pool

        protected Pool​(int initialCount,
                       int maxCount,
                       int timeout)