Class DefaultEarlyResponseContainer

    • Constructor Detail

      • DefaultEarlyResponseContainer

        public DefaultEarlyResponseContainer()
    • Method Detail

      • get

        public java.util.List<Response<?>> get​(java.lang.String correlationId)
        Description copied from interface: EarlyResponseContainer
        Gets and removes the responses for the provided correlationId if they exists.
        Specified by:
        get in interface EarlyResponseContainer
        Parameters:
        correlationId - correlationId for which responses shall be get and removed.
        Returns:
        the responses or an empty list if there is no response for the provided correlationId.
      • setUpperBorderResponseMapSize

        public void setUpperBorderResponseMapSize​(int upperBorderResponseMapSize)
      • setLowerBorderResponseMapSize

        public void setLowerBorderResponseMapSize​(int lowerBorderResponseMapSize)
      • getLowerBorderResponseMapSize

        public int getLowerBorderResponseMapSize()
      • getUpperBorderResponseMapSize

        public int getUpperBorderResponseMapSize()
      • setMinHoldBackTime

        public void setMinHoldBackTime​(long minHoldBackTime)
      • getMinHoldBackTime

        public long getMinHoldBackTime()
      • setCheckInterval

        public void setCheckInterval​(int checkInterval)
      • getCheckInterval

        public int getCheckInterval()