Class Scatter<H,​P extends ResourcePath<K>,​K>

  • public class Scatter<H,​P extends ResourcePath<K>,​K>
    extends java.lang.Object
    Collection of ScatterGatherRequests for a request to the router. An incoming request is broken up into one or more ScatterGatherRequest, each of which represents a request which will be sent to a single storage node. This class holds all of the ScatterGatherRequests for a single incoming request.
    • Constructor Detail

      • Scatter

        public Scatter​(@Nonnull
                       P path,
                       ResourcePathParser<P,​K> pathParser,
                       java.lang.Object role)
    • Method Detail

      • getOnlineRequestCount

        public int getOnlineRequestCount()
      • getOfflineRequests

        public java.util.Collection<ScatterGatherRequest<H,​K>> getOfflineRequests()
      • getOfflineRequestCount

        public int getOfflineRequestCount()
      • getPath

        public P getPath()
      • getRole

        public <R> R getRole()