com.groupbyinc.flux.cluster.routing.RotationShardShuffler.class Maven / Gradle / Ivy
???? 4 , 9com/groupbyinc/flux/cluster/routing/RotationShardShuffler 1com/groupbyinc/flux/cluster/routing/ShardShuffler RotationShardShuffler.java seed +Ljava/util/concurrent/atomic/AtomicInteger; (I)V ()V
)java/util/concurrent/atomic/AtomicInteger
this ;Lcom/groupbyinc/flux/cluster/routing/RotationShardShuffler; I nextSeed ()I getAndIncrement
shuffle #(Ljava/util/List;I)Ljava/util/List; /com/groupbyinc/flux/common/util/CollectionUtils rotate
shards DLjava/util/List; Ljava/util/List; Code LocalVariableTable LineNumberTable LocalVariableTypeTable Signature ?(Ljava/util/List;I)Ljava/util/List;
SourceFile ! % M *? *? Y? ? ? &