public class LossReportUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOSS_REPORT_FILE_NAME
Name of the error report file in the Aeron directory.
|
| Constructor and Description |
|---|
LossReportUtil() |
| Modifier and Type | Method and Description |
|---|---|
static File |
file(String aeronDirectoryName)
Create a new
File object for the loss report. |
static MappedByteBuffer |
mapLossReport(String aeronDirectoryName,
int reportFileLength)
Map a new loss report in the Aeron directory for a given length.
|
static MappedByteBuffer |
mapLossReportReadOnly(String aeronDirectoryName)
Map a new loss report in the Aeron directory for a given length.
|
public static final String LOSS_REPORT_FILE_NAME
public static File file(String aeronDirectoryName)
File object for the loss report.aeronDirectoryName - in which the loss report should exist.File for the loss report.public static MappedByteBuffer mapLossReport(String aeronDirectoryName, int reportFileLength)
aeronDirectoryName - in which to create the file.reportFileLength - for the file.public static MappedByteBuffer mapLossReportReadOnly(String aeronDirectoryName)
aeronDirectoryName - containing the fileCopyright © 2014-2020 Real Logic Limited. All Rights Reserved.