Uses of Interface
org.kiwiproject.base.KiwiEnvironment
Packages that use KiwiEnvironment
-
Uses of KiwiEnvironment in org.kiwiproject.base
Classes in org.kiwiproject.base that implement KiwiEnvironmentModifier and TypeClassDescriptionclassA default implementation of theKiwiEnvironmentinterface. -
Uses of KiwiEnvironment in org.kiwiproject.retry
Methods in org.kiwiproject.retry with parameters of type KiwiEnvironmentModifier and TypeMethodDescriptionSimpleRetryer.SimpleRetryerBuilder.environment(KiwiEnvironment environment) TheKiwiEnvironmentto use when sleeping between retry attempts.static <T> Optional<T>SimpleRetries.tryGetObject(int maxAttempts, long retryDelay, TimeUnit retryDelayUnit, KiwiEnvironment environment, Class<T> type, Supplier<T> supplier) Try to get an object, making up tomaxAttemptsattempts.static <T> Optional<T>SimpleRetries.tryGetObject(int maxAttempts, long retryDelay, TimeUnit retryDelayUnit, KiwiEnvironment environment, String type, org.slf4j.event.Level level, Supplier<T> supplier) Try to get an object, making up tomaxAttemptsattempts.static <T> Optional<T>SimpleRetries.tryGetObject(int maxAttempts, long retryDelay, TimeUnit retryDelayUnit, KiwiEnvironment environment, Supplier<T> supplier) Try to get an object, making up tomaxAttemptsattempts.static <T> RetryResult<T>SimpleRetries.tryGetObjectCollectingErrors(int maxAttempts, long retryDelay, TimeUnit retryDelayUnit, KiwiEnvironment environment, Class<T> type, Supplier<T> supplier) Try to get an object, making up tomaxAttemptsattempts.static <T> RetryResult<T>SimpleRetries.tryGetObjectCollectingErrors(int maxAttempts, long retryDelay, TimeUnit retryDelayUnit, KiwiEnvironment environment, String type, Supplier<T> supplier) Try to get an object, making up tomaxAttemptsattempts.static <T> RetryResult<T>SimpleRetries.tryGetObjectCollectingErrors(int maxAttempts, long retryDelay, TimeUnit retryDelayUnit, KiwiEnvironment environment, String type, org.slf4j.event.Level level, Supplier<T> supplier) Try to get an object, making up tomaxAttemptsattempts.