public class LossReportUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.io.File |
file(java.lang.String aeronDirectoryName)
Create a new
File object for the loss report. |
static java.nio.MappedByteBuffer |
mapLossReport(java.lang.String aeronDirectoryName,
int reportFileLength)
Map a new loss report in the Aeron directory for a given length.
|
public static final java.lang.String LOSS_REPORT_FILE_NAME
public static java.io.File file(java.lang.String aeronDirectoryName)
File
object for the loss report.aeronDirectoryName
- in which the loss report should exist.File
for the loss report.public static java.nio.MappedByteBuffer mapLossReport(java.lang.String aeronDirectoryName, int reportFileLength)
aeronDirectoryName
- in which to create the file.reportFileLength
- for the file.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.