| Package | Description |
|---|---|
| org.apache.hadoop.hbase.procedure2 | |
| org.apache.hadoop.hbase.procedure2.store | |
| org.apache.hadoop.hbase.procedure2.store.wal |
| Modifier and Type | Class and Description |
|---|---|
class |
OnePhaseProcedure<TEnvironment> |
class |
SequentialProcedure<TEnvironment>
A SequentialProcedure describes one step in a procedure chain.
|
class |
StateMachineProcedure<TEnvironment,TState>
Procedure described by a series of steps.
|
class |
TwoPhaseProcedure<TEnvironment> |
| Modifier and Type | Method and Description |
|---|---|
static Procedure |
Procedure.convert(org.apache.hadoop.hbase.protobuf.generated.ProcedureProtos.Procedure proto)
Helper to convert the protobuf procedure.
|
protected Procedure[] |
SequentialProcedure.doExecute(TEnvironment env) |
protected Procedure[] |
Procedure.doExecute(TEnvironment env)
Internal method called by the ProcedureExecutor that starts the
user-level code execute().
|
protected Procedure[] |
StateMachineProcedure.execute(TEnvironment env) |
protected abstract Procedure[] |
Procedure.execute(TEnvironment env)
The main code of the procedure.
|
Procedure |
ProcedureExecutor.getProcedure(long procId) |
protected static Procedure |
Procedure.newInstance(String className) |
Procedure |
ProcedureSimpleRunQueue.poll() |
Procedure |
ProcedureRunnableSet.poll()
Fetch one Procedure from the queue
|
| Modifier and Type | Method and Description |
|---|---|
Pair<ProcedureInfo,Procedure> |
ProcedureExecutor.getResultOrProcedure(long procId) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcedureSimpleRunQueue.addBack(Procedure proc) |
void |
ProcedureRunnableSet.addBack(Procedure proc)
Inserts the specified element at the end of this queue.
|
protected void |
StateMachineProcedure.addChildProcedure(Procedure... subProcedure)
Add a child procedure to execute
|
void |
ProcedureSimpleRunQueue.addFront(Procedure proc) |
void |
ProcedureRunnableSet.addFront(Procedure proc)
Inserts the specified element at the front of this queue.
|
int |
Procedure.compareTo(Procedure other) |
void |
ProcedureSimpleRunQueue.completionCleanup(Procedure proc) |
void |
ProcedureRunnableSet.completionCleanup(Procedure proc)
The procedure in execution completed.
|
static org.apache.hadoop.hbase.protobuf.generated.ProcedureProtos.Procedure |
Procedure.convert(Procedure proc)
Helper to convert the procedure to protobuf.
|
static ProcedureInfo |
Procedure.createProcedureInfo(Procedure proc,
NonceKey nonceKey)
Helper to create the ProcedureInfo from Procedure.
|
protected static Long |
Procedure.getRootProcedureId(Map<Long,Procedure> procedures,
Procedure proc) |
long |
ProcedureExecutor.submitProcedure(Procedure proc)
>>>>>>> ce33cf2...
|
long |
ProcedureExecutor.submitProcedure(Procedure proc,
NonceKey nonceKey)
Add a new root-procedure to the executor.
|
protected static void |
Procedure.validateClass(Procedure proc) |
void |
ProcedureSimpleRunQueue.yield(Procedure proc) |
void |
ProcedureRunnableSet.yield(Procedure proc)
The procedure can't run at the moment.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Long |
Procedure.getRootProcedureId(Map<Long,Procedure> procedures,
Procedure proc) |
| Modifier and Type | Method and Description |
|---|---|
Procedure |
ProcedureStore.ProcedureIterator.nextAsProcedure()
Returns the next procedure in the iteration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProcedureStore.insert(Procedure proc,
Procedure[] subprocs)
When a procedure is submitted to the executor insert(proc, null) will be called.
|
void |
ProcedureStore.insert(Procedure proc,
Procedure[] subprocs)
When a procedure is submitted to the executor insert(proc, null) will be called.
|
void |
NoopProcedureStore.insert(Procedure proc,
Procedure[] subprocs) |
void |
NoopProcedureStore.insert(Procedure proc,
Procedure[] subprocs) |
void |
ProcedureStore.update(Procedure proc)
The specified procedure was executed,
and the new state should be written to the store.
|
void |
NoopProcedureStore.update(Procedure proc) |
| Modifier and Type | Method and Description |
|---|---|
void |
WALProcedureStore.insert(Procedure proc,
Procedure[] subprocs) |
void |
WALProcedureStore.insert(Procedure proc,
Procedure[] subprocs) |
void |
WALProcedureStore.update(Procedure proc) |
static void |
ProcedureWALFormat.writeEntry(ByteSlot slot,
org.apache.hadoop.hbase.protobuf.generated.ProcedureProtos.ProcedureWALEntry.Type type,
Procedure proc,
Procedure[] subprocs) |
static void |
ProcedureWALFormat.writeEntry(ByteSlot slot,
org.apache.hadoop.hbase.protobuf.generated.ProcedureProtos.ProcedureWALEntry.Type type,
Procedure proc,
Procedure[] subprocs) |
static void |
ProcedureWALFormat.writeInsert(ByteSlot slot,
Procedure proc) |
static void |
ProcedureWALFormat.writeInsert(ByteSlot slot,
Procedure proc,
Procedure[] subprocs) |
static void |
ProcedureWALFormat.writeInsert(ByteSlot slot,
Procedure proc,
Procedure[] subprocs) |
static void |
ProcedureWALFormat.writeUpdate(ByteSlot slot,
Procedure proc) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.