public class LossReportReader
extends java.lang.Object
LossReport
.Modifier and Type | Class and Description |
---|---|
static interface |
LossReportReader.EntryConsumer
Consumer function to be implemented by caller of the read method.
|
Constructor and Description |
---|
LossReportReader() |
Modifier and Type | Method and Description |
---|---|
static int |
read(org.agrona.concurrent.AtomicBuffer buffer,
LossReportReader.EntryConsumer entryConsumer)
Read a
LossReport contained in the buffer. |
public static int read(org.agrona.concurrent.AtomicBuffer buffer, LossReportReader.EntryConsumer entryConsumer)
LossReport
contained in the buffer. This can be done concurrently.buffer
- containing the loss report.entryConsumer
- to be called to accept each entry in the report.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.