public class ResetWithoutRetryStrategy extends java.lang.Object implements RetryStrategy
Constructor and Description |
---|
ResetWithoutRetryStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
serverRecovered(java.lang.Object server) |
boolean |
shouldRetry(java.lang.Throwable exc,
java.lang.Object server,
int tryCount) |
public boolean shouldRetry(java.lang.Throwable exc, java.lang.Object server, int tryCount)
shouldRetry
in interface RetryStrategy
public void serverRecovered(java.lang.Object server)
serverRecovered
in interface RetryStrategy