Class ProcedureTestingUtility.LoadCounter
java.lang.Object
org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.LoadCounter
- All Implemented Interfaces:
org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader
- Enclosing class:
- ProcedureTestingUtility
public static class ProcedureTestingUtility.LoadCounter
extends Object
implements org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionArrayList<org.apache.hadoop.hbase.procedure2.Procedure>
int
ArrayList<org.apache.hadoop.hbase.procedure2.Procedure>
int
int
long
int
ArrayList<org.apache.hadoop.hbase.procedure2.Procedure>
void
handleCorrupted
(org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureIterator procIter) boolean
isRunnable
(long procId) void
load
(org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureIterator procIter) void
reset()
void
void
setMaxProcId
(long maxProcId)
-
Field Details
-
corrupted
-
completed
-
runnable
-
procIds
-
maxProcId
-
-
Constructor Details
-
LoadCounter
public LoadCounter() -
LoadCounter
-
-
Method Details
-
reset
-
reset
-
getMaxProcId
-
getRunnables
-
getRunnableCount
-
getCompleted
-
getCompletedCount
-
getLoadedCount
-
getCorrupted
-
getCorruptedCount
-
isRunnable
-
setMaxProcId
- Specified by:
setMaxProcId
in interfaceorg.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader
-
load
public void load(org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureIterator procIter) throws IOException - Specified by:
load
in interfaceorg.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader
- Throws:
IOException
-
handleCorrupted
public void handleCorrupted(org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureIterator procIter) throws IOException - Specified by:
handleCorrupted
in interfaceorg.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader
- Throws:
IOException
-