@InterfaceAudience.Public @InterfaceStability.Evolving public class PreemptiveFastFailException extends ConnectException
Modifier and Type | Field and Description |
---|---|
private long |
failureCount |
private static long |
serialVersionUID |
private long |
timeOfFirstFailureMilliSec |
private long |
timeOfLatestAttemptMilliSec |
Constructor and Description |
---|
PreemptiveFastFailException(long count,
long timeOfFirstFailureMilliSec,
long timeOfLatestAttemptMilliSec,
ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
long |
getFailureCount() |
long |
getFirstFailureAt() |
long |
getLastAttemptAt() |
boolean |
wasOperationAttemptedByServer() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private long failureCount
private long timeOfFirstFailureMilliSec
private long timeOfLatestAttemptMilliSec
public PreemptiveFastFailException(long count, long timeOfFirstFailureMilliSec, long timeOfLatestAttemptMilliSec, ServerName serverName)
count
- timeOfFirstFailureMilliSec
- timeOfLatestAttemptMilliSec
- serverName
- Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.