Package com.linkedin.venice.fastclient
Class BatchGetRequestContext<K,V>
java.lang.Object
com.linkedin.venice.fastclient.RequestContext
com.linkedin.venice.fastclient.MultiKeyRequestContext<K,V>
com.linkedin.venice.fastclient.BatchGetRequestContext<K,V>
- Type Parameters:
K
- Key typeV
- Value type
Keep track of the progress of a batch get request . This includes tracking
all the scatter requests and utilities to gather responses.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.linkedin.venice.fastclient.MultiKeyRequestContext
MultiKeyRequestContext.KeyInfo<K>
-
Constructor Summary
ConstructorDescriptionBatchGetRequestContext
(int numKeysInRequest, boolean isPartialSuccessAllowed) -
Method Summary
Methods inherited from class com.linkedin.venice.fastclient.MultiKeyRequestContext
getFanoutSize, getRoutesForPartitionMapping, setFanoutSize, setRoutesForPartitionMapping
-
Constructor Details
-
BatchGetRequestContext
public BatchGetRequestContext(int numKeysInRequest, boolean isPartialSuccessAllowed)
-
-
Method Details
-
getRequestType
- Specified by:
getRequestType
in classRequestContext
-