Class MultiKeyRequestContext<K,​V>

  • Type Parameters:
    K - Key type
    V - Value type
    Direct Known Subclasses:
    BatchGetRequestContext, ComputeRequestContext

    public abstract class MultiKeyRequestContext<K,​V>
    extends RequestContext
    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.
    • Method Detail

      • getRoutesForPartitionMapping

        public java.util.Map<java.lang.Integer,​java.util.Set<java.lang.String>> getRoutesForPartitionMapping()
      • setRoutesForPartitionMapping

        public void setRoutesForPartitionMapping​(java.util.Map<java.lang.Integer,​java.util.Set<java.lang.String>> routesForPartition)
      • setFanoutSize

        public void setFanoutSize​(int fanoutSize)
      • getFanoutSize

        public int getFanoutSize()