@FunctionalInterface public interface ErrorConsumer
DistinctErrorLog
.Modifier and Type | Method and Description |
---|---|
void |
accept(int observationCount,
long firstObservationTimestamp,
long lastObservationTimestamp,
String encodedException)
Callback for accepting errors encountered in the log.
|
void accept(int observationCount, long firstObservationTimestamp, long lastObservationTimestamp, String encodedException)
observationCount
- the number of times this distinct exception has been recorded.firstObservationTimestamp
- time the first observation was recorded.lastObservationTimestamp
- time the last observation was recorded.encodedException
- String encoding of the exception and stack trace in UTF-8 format.Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.