Class CorrelationIdUtils


  • public class CorrelationIdUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void popIndexFromCollerationId​(WalkResponse walkResponse, java.util.Map<java.lang.Integer,​java.util.List<WalkResponse>> responsesByIndex)
      Retrieves the most recent (first one in the string) index from the correlation id on the given response, and adds the (modified) response to the map at that index.
      static void pushIndexToCorrelationId​(WalkRequest walkRequest, int idx)
      Prepends the index to the correlation id on the given request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CorrelationIdUtils

        public CorrelationIdUtils()
    • Method Detail

      • pushIndexToCorrelationId

        public static void pushIndexToCorrelationId​(WalkRequest walkRequest,
                                                    int idx)
        Prepends the index to the correlation id on the given request.
      • popIndexFromCollerationId

        public static void popIndexFromCollerationId​(WalkResponse walkResponse,
                                                     java.util.Map<java.lang.Integer,​java.util.List<WalkResponse>> responsesByIndex)
        Retrieves the most recent (first one in the string) index from the correlation id on the given response, and adds the (modified) response to the map at that index. The responses in the map contain the same results, but their correlation ids are modified to remove index at which they were mapped.