Class IOWorkerSelectors.PowerOfTwoSelector

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicInteger idx  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int select​(IOWorkerStats[] dispatchers)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • idx

        private final java.util.concurrent.atomic.AtomicInteger idx
    • Constructor Detail

      • PowerOfTwoSelector

        PowerOfTwoSelector​(int n)