Package com.rabbitmq.client.impl
Class DefaultCredentialsRefreshService.RatioRefreshDelayStrategy
- java.lang.Object
-
- com.rabbitmq.client.impl.DefaultCredentialsRefreshService.RatioRefreshDelayStrategy
-
- All Implemented Interfaces:
java.util.function.Function<java.time.Duration,java.time.Duration>
- Enclosing class:
- DefaultCredentialsRefreshService
private static class DefaultCredentialsRefreshService.RatioRefreshDelayStrategy extends java.lang.Object implements java.util.function.Function<java.time.Duration,java.time.Duration>
-
-
Field Summary
Fields Modifier and Type Field Description private double
ratio
-
Constructor Summary
Constructors Modifier Constructor Description private
RatioRefreshDelayStrategy(double ratio)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Duration
apply(java.time.Duration duration)
-