Class TestStackIdHoles.DummyProcedureStore
java.lang.Object
org.apache.hadoop.hbase.procedure2.store.ProcedureStoreBase
org.apache.hadoop.hbase.procedure2.TestStackIdHoles.DummyProcedureStore
- All Implemented Interfaces:
org.apache.hadoop.hbase.procedure2.store.ProcedureStore
- Enclosing class:
- TestStackIdHoles
private final class TestStackIdHoles.DummyProcedureStore
extends org.apache.hadoop.hbase.procedure2.store.ProcedureStoreBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.procedure2.store.ProcedureStore
org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureIterator, org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader, org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureStoreListener
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AtomicLong
private int
private final LinkedHashMap<Long,
org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure> private final AtomicBoolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long procId) void
delete
(long[] procIds, int offset, int count) void
delete
(org.apache.hadoop.hbase.procedure2.Procedure<?> parentProc, long[] subProcIds) int
void
insert
(org.apache.hadoop.hbase.procedure2.Procedure<?>[] procs) void
insert
(org.apache.hadoop.hbase.procedure2.Procedure<?> proc, org.apache.hadoop.hbase.procedure2.Procedure<?>[] subprocs) void
load
(org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader loader) void
int
setRunningProcedureCount
(int count) void
start
(int numThreads) void
stop
(boolean abort) void
update
(org.apache.hadoop.hbase.procedure2.Procedure<?> proc) Methods inherited from class org.apache.hadoop.hbase.procedure2.store.ProcedureStoreBase
isRunning, registerListener, sendAbortProcessSignal, sendForceUpdateSignal, sendPostSyncSignal, setRunning, unregisterListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.procedure2.store.ProcedureStore
cleanup
-
Field Details
-
numThreads
-
procMap
private final LinkedHashMap<Long,org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure> procMap -
maxProcId
-
updated
-
-
Constructor Details
-
DummyProcedureStore
private DummyProcedureStore()
-
-
Method Details
-
start
- Throws:
IOException
-
stop
-
getNumThreads
-
setRunningProcedureCount
-
recoverLease
- Throws:
IOException
-
load
public void load(org.apache.hadoop.hbase.procedure2.store.ProcedureStore.ProcedureLoader loader) throws IOException - Throws:
IOException
-
insert
public void insert(org.apache.hadoop.hbase.procedure2.Procedure<?> proc, org.apache.hadoop.hbase.procedure2.Procedure<?>[] subprocs) -
insert
-
update
-
delete
-
delete
-
delete
-