Example #1
0
 SctpWorker nextWorker() {
   return workers[Math.abs(workerIndex.getAndIncrement() % workers.length)];
 }
 Boss nextBoss() {
   return bosses[Math.abs(bossIndex.getAndIncrement() % bosses.length)];
 }