private static final class AbstractFSWAL.WALProps extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
closed
If we do asynchronous close in subclasses, it is possible that when adding WALProps to the
rolled map, the file is not closed yet, so in cleanOldLogs we should not archive this file,
for safety.
|
private Map<byte[],Long> |
encodedName2HighestSequenceId
Map the encoded region name to the highest sequence id.
|
private long |
logSize
The log file size.
|
private long |
rollTimeNs
The nanoTime of the log rolling, used to determine the time interval that has passed since.
|
private final Map<byte[],Long> encodedName2HighestSequenceId
private final long logSize
private final long rollTimeNs
private volatile boolean closed
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.