Class TestYieldProcedures.TestScheduler
java.lang.Object
org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
org.apache.hadoop.hbase.procedure2.TestYieldProcedures.TestScheduler
- All Implemented Interfaces:
org.apache.hadoop.hbase.procedure2.ProcedureScheduler
- Enclosing class:
- TestYieldProcedures
private static class TestYieldProcedures.TestScheduler
extends org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBack
(org.apache.hadoop.hbase.procedure2.Procedure proc) void
addFront
(org.apache.hadoop.hbase.procedure2.Procedure proc) void
completionCleanup
(org.apache.hadoop.hbase.procedure2.Procedure proc) org.apache.hadoop.hbase.procedure2.Procedure
poll()
org.apache.hadoop.hbase.procedure2.Procedure
void
yield
(org.apache.hadoop.hbase.procedure2.Procedure proc) Methods inherited from class org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
clear, dequeue, enqueue, getLockResource, getLocks, queueHasRunnables, queueSize, toString
Methods inherited from class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
addBack, addFront, addFront, getNullPollCalls, getPollCalls, hasRunnables, poll, push, schedLock, schedUnlock, signalAll, size, start, stop, waitProcedure, wakeEvents, wakePollIfNeeded, wakeProcedure, wakeWaitingProcedures
-
Field Details
-
completionCalls
-
addFrontCalls
-
addBackCalls
-
yieldCalls
-
pollCalls
-
-
Constructor Details
-
TestScheduler
public TestScheduler()
-
-
Method Details
-
addFront
- Specified by:
addFront
in interfaceorg.apache.hadoop.hbase.procedure2.ProcedureScheduler
- Overrides:
addFront
in classorg.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
-
addBack
- Specified by:
addBack
in interfaceorg.apache.hadoop.hbase.procedure2.ProcedureScheduler
- Overrides:
addBack
in classorg.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
-
yield
- Specified by:
yield
in interfaceorg.apache.hadoop.hbase.procedure2.ProcedureScheduler
- Overrides:
yield
in classorg.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
-
poll
- Specified by:
poll
in interfaceorg.apache.hadoop.hbase.procedure2.ProcedureScheduler
- Overrides:
poll
in classorg.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
-
poll
- Specified by:
poll
in interfaceorg.apache.hadoop.hbase.procedure2.ProcedureScheduler
- Overrides:
poll
in classorg.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
-
completionCleanup
- Specified by:
completionCleanup
in interfaceorg.apache.hadoop.hbase.procedure2.ProcedureScheduler
- Overrides:
completionCleanup
in classorg.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
-