Package org.apache.hadoop.hbase.wal
Class TestWALSplit.SplitWALWorker
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.wal.TestWALSplit.SplitWALWorker
- All Implemented Interfaces:
Runnable
,org.apache.hadoop.hbase.regionserver.LastSequenceId
- Enclosing class:
- TestWALSplit
private class TestWALSplit.SplitWALWorker
extends Thread
implements org.apache.hadoop.hbase.regionserver.LastSequenceId
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.apache.hadoop.fs.FileSystem
(package private) final org.apache.hadoop.fs.FileStatus
(package private) final org.apache.hadoop.hbase.regionserver.RegionServerServices
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionSplitWALWorker
(org.apache.hadoop.fs.FileStatus logfile, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds
getLastSequenceId
(byte[] encodedRegionName) void
run()
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
logfile
-
fs
-
rsServices
-
-
Constructor Details
-
SplitWALWorker
public SplitWALWorker(org.apache.hadoop.fs.FileStatus logfile, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices)
-
-
Method Details
-
run
-
getLastSequenceId
public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIds getLastSequenceId(byte[] encodedRegionName) - Specified by:
getLastSequenceId
in interfaceorg.apache.hadoop.hbase.regionserver.LastSequenceId
-