Class AbstractClientRoutingStrategy
- java.lang.Object
-
- com.linkedin.venice.fastclient.meta.AbstractClientRoutingStrategy
-
- All Implemented Interfaces:
ClientRoutingStrategy
- Direct Known Subclasses:
HelixScatterGatherRoutingStrategy
,LeastLoadedClientRoutingStrategy
public class AbstractClientRoutingStrategy extends java.lang.Object implements ClientRoutingStrategy
-
-
Constructor Summary
Constructors Constructor Description AbstractClientRoutingStrategy()
-
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)
-
-
-
Method Detail
-
getReplicas
public java.util.List<java.lang.String> getReplicas(long requestId, java.util.List<java.lang.String> replicas, int requiredReplicaCount)
- Specified by:
getReplicas
in interfaceClientRoutingStrategy
-
updateHelixGroupInfo
public void updateHelixGroupInfo(java.util.Map<java.lang.String,java.lang.Integer> instanceToHelixGroupIdMap)
-
-