Class RetryMode.Resolver

    • Method Detail

      • profileFile

        public RetryMode.Resolver profileFile​(Supplier<ProfileFile> profileFile)
        Configure the profile file that should be used when determining the RetryMode. The supplier is only consulted if a higher-priority determinant (e.g. environment variables) does not find the setting.
      • defaultRetryMode

        public RetryMode.Resolver defaultRetryMode​(RetryMode defaultRetryMode)
        Configure the RetryMode that should be used if the mode is not specified anywhere else.
      • resolve

        public RetryMode resolve()
        Resolve which retry mode should be used, based on the configured values.