Class RoundRobinIndexDetectionStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int next​(int size)
      Increment current index and return new index by module of smscConnections size
      • Methods inherited from class java.lang.Object

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

      • RoundRobinIndexDetectionStrategy

        public RoundRobinIndexDetectionStrategy()
    • Method Detail

      • next

        public int next​(int size)
        Increment current index and return new index by module of smscConnections size
        Specified by:
        next in interface IndexDetectionStrategy
        Parameters:
        size - size of connections
        Returns:
        new index