Package com.linkedin.venice.fastclient
Class ComputeRequestContext<K,V>
java.lang.Object
com.linkedin.venice.fastclient.RequestContext
com.linkedin.venice.fastclient.MultiKeyRequestContext<K,V>
com.linkedin.venice.fastclient.ComputeRequestContext<K,V>
- Type Parameters:
K
- Key typeV
- Value type
Keep track of the progress of a compute 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
ConstructorDescriptionComputeRequestContext
(int numKeysInRequest, boolean isPartialSuccessAllowed) -
Method Summary
Methods inherited from class com.linkedin.venice.fastclient.MultiKeyRequestContext
getFanoutSize, getRoutesForPartitionMapping, setFanoutSize, setRoutesForPartitionMapping
-
Constructor Details
-
ComputeRequestContext
public ComputeRequestContext(int numKeysInRequest, boolean isPartialSuccessAllowed)
-
-
Method Details
-
getRequestType
- Specified by:
getRequestType
in classRequestContext
-