@InterfaceAudience.Private class StoreFileListFile extends Object
Modifier and Type | Field and Description |
---|---|
private StoreContext |
ctx |
private static org.slf4j.Logger |
LOG |
private static int |
MAX_FILE_SIZE |
private int |
nextTrackFile |
private long |
prevTimestamp |
private static String |
TRACK_FILE |
(package private) static String |
TRACK_FILE_DIR |
private static String |
TRACK_FILE_ROTATE |
private org.apache.hadoop.fs.Path |
trackFileDir |
private org.apache.hadoop.fs.Path[] |
trackFiles |
Constructor and Description |
---|
StoreFileListFile(StoreContext ctx) |
Modifier and Type | Method and Description |
---|---|
(package private) org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList |
load() |
private org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList |
load(org.apache.hadoop.fs.Path path) |
private int |
select(org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList[] lists) |
(package private) void |
update(org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList.Builder builder)
We will set the timestamp in this method so just pass the builder in
|
private static final org.slf4j.Logger LOG
static final String TRACK_FILE_DIR
private static final String TRACK_FILE
private static final String TRACK_FILE_ROTATE
private static final int MAX_FILE_SIZE
private final StoreContext ctx
private final org.apache.hadoop.fs.Path trackFileDir
private final org.apache.hadoop.fs.Path[] trackFiles
private long prevTimestamp
private int nextTrackFile
StoreFileListFile(StoreContext ctx)
private org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList load(org.apache.hadoop.fs.Path path) throws IOException
IOException
private int select(org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList[] lists)
org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList load() throws IOException
IOException
void update(org.apache.hadoop.hbase.shaded.protobuf.generated.StoreFileTrackerProtos.StoreFileList.Builder builder) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.