@FunctionalInterface public static interface OciCircuitBreaker.Config.IntervalFunction extends Function<Integer,Long>
An IntervalFunction which can be used to calculate the wait interval. The input parameter of the function is the number of attempts (attempt), the output parameter the wait interval in milliseconds. The attempt parameter starts at 1 and increases with every further attempt.
Copyright © 2016–2024. All rights reserved.