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
public class ComputeRequestContext<K,V> extends MultiKeyRequestContext<K,V>
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
Constructors Constructor Description ComputeRequestContext(int numKeysInRequest, boolean isPartialSuccessAllowed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestType
getRequestType()
-
Methods inherited from class com.linkedin.venice.fastclient.MultiKeyRequestContext
getFanoutSize, getRoutesForPartitionMapping, setFanoutSize, setRoutesForPartitionMapping
-
-
-
-
Method Detail
-
getRequestType
public RequestType getRequestType()
- Specified by:
getRequestType
in classRequestContext
-
-