Class AbstractFSWAL.WALProps
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL.WALProps
- Enclosing class:
- AbstractFSWAL<W extends WALProvider.WriterBase>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
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.Map the encoded region name to the highest sequence id.private final long
The log file size.private final long
The nanoTime of the log rolling, used to determine the time interval that has passed since. -
Constructor Summary
-
Method Summary
-
Field Details
-
encodedName2HighestSequenceId
Map the encoded region name to the highest sequence id. Contains all the regions it has an entry for. -
logSize
The log file size. Notice that the size may not be accurate if we do asynchronous close in subclasses. -
rollTimeNs
The nanoTime of the log rolling, used to determine the time interval that has passed since. -
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.
-
-
Constructor Details
-
WALProps
-