Package com.linkedin.venice.fastclient
Class MultiKeyRequestContext<K,V>
java.lang.Object
com.linkedin.venice.fastclient.RequestContext
com.linkedin.venice.fastclient.MultiKeyRequestContext<K,V>
- Type Parameters:
K
- Key typeV
- Value type
- Direct Known Subclasses:
BatchGetRequestContext
,ComputeRequestContext
Keep track of the progress of a multi-key requests - batch get and compute. This includes tracking all the scatter
requests and utilities to gather responses.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
represents a key requested on a route and tracks info related to it but specific to the route -
Method Summary
Modifier and TypeMethodDescriptionint
void
setFanoutSize
(int fanoutSize) void
setRoutesForPartitionMapping
(Map<Integer, Set<String>> routesForPartition) Methods inherited from class com.linkedin.venice.fastclient.RequestContext
getRequestType
-
Method Details
-
getRoutesForPartitionMapping
-
setRoutesForPartitionMapping
-
setFanoutSize
public void setFanoutSize(int fanoutSize) -
getFanoutSize
public int getFanoutSize()
-