@Deprecated @InterfaceAudience.Private class ProcedureWALFile extends Object implements Comparable<ProcedureWALFile>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.fs.FileSystem |
fs
Deprecated.
|
private org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader |
header
Deprecated.
|
private static org.slf4j.Logger |
LOG
Deprecated.
|
private org.apache.hadoop.fs.Path |
logFile
Deprecated.
|
private long |
logSize
Deprecated.
|
private long |
maxProcId
Deprecated.
|
private long |
minProcId
Deprecated.
|
private long |
startPos
Deprecated.
|
private org.apache.hadoop.fs.FSDataInputStream |
stream
Deprecated.
|
private long |
timestamp
Deprecated.
|
private ProcedureStoreTracker |
tracker
Deprecated.
|
Constructor and Description |
---|
ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.FileStatus logStatus)
Deprecated.
|
ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path logFile,
org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header,
long startPos,
long timestamp)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
addToSize(long size)
Deprecated.
Used to update in-progress log sizes.
|
void |
close()
Deprecated.
|
int |
compareTo(ProcedureWALFile other)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader |
getHeader()
Deprecated.
|
long |
getLogId()
Deprecated.
|
long |
getMaxProcId()
Deprecated.
|
long |
getMinProcId()
Deprecated.
|
long |
getSize()
Deprecated.
|
org.apache.hadoop.fs.FSDataInputStream |
getStream()
Deprecated.
|
long |
getTimestamp()
Deprecated.
|
ProcedureStoreTracker |
getTracker()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isCompacted()
Deprecated.
|
void |
open()
Deprecated.
|
void |
readTracker()
Deprecated.
|
org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALTrailer |
readTrailer()
Deprecated.
|
void |
removeFile(org.apache.hadoop.fs.Path walArchiveDir)
Deprecated.
|
void |
setProcIds(long minId,
long maxId)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
updateLocalTracker(ProcedureStoreTracker tracker)
Deprecated.
|
private static final org.slf4j.Logger LOG
private org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header
private org.apache.hadoop.fs.FSDataInputStream stream
private org.apache.hadoop.fs.FileSystem fs
private org.apache.hadoop.fs.Path logFile
private long startPos
private long minProcId
private long maxProcId
private long logSize
private long timestamp
private final ProcedureStoreTracker tracker
public ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.FileStatus logStatus)
public ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path logFile, org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header, long startPos, long timestamp)
public ProcedureStoreTracker getTracker()
public void open() throws IOException
IOException
public org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALTrailer readTrailer() throws IOException
IOException
public void readTracker() throws IOException
IOException
public void updateLocalTracker(ProcedureStoreTracker tracker)
public void close()
public org.apache.hadoop.fs.FSDataInputStream getStream()
public org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader getHeader()
public long getTimestamp()
public boolean isCompacted()
public long getLogId()
public long getSize()
void addToSize(long size)
public void removeFile(org.apache.hadoop.fs.Path walArchiveDir) throws IOException
IOException
public void setProcIds(long minId, long maxId)
public long getMinProcId()
public long getMaxProcId()
public int compareTo(ProcedureWALFile other)
compareTo
in interface Comparable<ProcedureWALFile>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.