Class HelixScatterGatherRoutingStrategy

  • All Implemented Interfaces:
    ClientRoutingStrategy

    public class HelixScatterGatherRoutingStrategy
    extends AbstractClientRoutingStrategy
    This strategy will assign an ordering of helix groups via round-robin for even distribution. The fanout in multi-get will be performed using instances belonging to the assigned groups. If no instance belonging to the selected group is found for a given partition, the instance with the next group in the assigned ordering will be used
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getReplicas​(long requestId, java.util.List<java.lang.String> replicas, int requiredReplicaCount)  
      void updateHelixGroupInfo​(java.util.Map<java.lang.String,​java.lang.Integer> instanceToHelixGroupIdMap)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait