Module logstash.logback.encoder
Interface FailureSummaryAppenderListener.FailureSummary
- Enclosing class:
FailureSummaryAppenderListener<Event extends DeferredProcessingAware>
public static interface FailureSummaryAppenderListener.FailureSummary
Summary details of consecutive failures
-
Method Summary
Modifier and TypeMethodDescriptionlongThe number of consecutive failures before a success.The first failure that occurred.longMillisecond value of the first failue.The most recent failure that occurred.
-
Method Details
-
getFirstFailureTime
long getFirstFailureTime()Millisecond value of the first failue.- Returns:
- Millisecond value of the first failue.
-
getFirstFailure
Throwable getFirstFailure()The first failure that occurred.- Returns:
- The first failure that occurred.
-
getMostRecentFailure
Throwable getMostRecentFailure()The most recent failure that occurred.- Returns:
- The most recent failure that occurred.
-
getConsecutiveFailures
long getConsecutiveFailures()The number of consecutive failures before a success.- Returns:
- number of consecutive failures before a success.
-