public static class FailureRateRestartStrategy.FailureRateRestartStrategyFactory extends RestartStrategyFactory
Constructor and Description |
---|
FailureRateRestartStrategyFactory(int maxFailuresPerInterval,
Time failuresInterval,
Time delayInterval) |
Modifier and Type | Method and Description |
---|---|
RestartStrategy |
createRestartStrategy()
Factory method to create a restart strategy.
|
createRestartStrategy, createRestartStrategyFactory
public RestartStrategy createRestartStrategy()
RestartStrategyFactory
createRestartStrategy
in class RestartStrategyFactory
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.