Package io.aeron.driver.reports
Interface LossReportReader.EntryConsumer
- Enclosing class:
- LossReportReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Consumer function to be implemented by caller of the read method.
-
Method Summary
-
Method Details
-
accept
void accept(long observationCount, long totalBytesLost, long firstObservationTimestamp, long lastObservationTimestamp, int sessionId, int streamId, String channel, String source) Accept an entry from the loss report, so it can be consumed.- Parameters:
observationCount- for the stream instance.totalBytesLost- for the stream instance.firstObservationTimestamp- on the stream instance.lastObservationTimestamp- on the stream instance.sessionId- identifying the stream.streamId- identifying the stream.channel- to which the stream belongs.source- of the stream.
-