Class RetryContext

    • Constructor Detail

      • RetryContext

        public RetryContext()
    • Method Detail

      • getRetryCount

        public int getRetryCount()
        Gets the current retry count
        0 = first try (no retry done so far) n = nth retry
        Returns:
        current retry count
      • getDataMap

        public Map<String,​String> getDataMap()
        Gets the current dataMap, for storing metadata across retries
        Returns:
        current dataMap