public class RetryNTimes extends RetryStrategy
Modifier and Type | Class and Description |
---|---|
static class |
RetryNTimes.Provider
A retry strategy provider for this strategy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
failOnce()
Increments the number of failed attempts.
|
beforeRetry
public boolean failOnce()
RetryStrategy
failOnce
in class RetryStrategy
Copyright © 2017 The Apache Software Foundation. All rights reserved.