private static class TestYieldProcedures.TestScheduler extends org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
Modifier and Type | Field and Description |
---|---|
private int |
addBackCalls |
private int |
addFrontCalls |
private int |
completionCalls |
private int |
pollCalls |
private int |
yieldCalls |
Constructor and Description |
---|
TestScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
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 |
poll(long timeout,
TimeUnit unit) |
void |
yield(org.apache.hadoop.hbase.procedure2.Procedure proc) |
clear, dequeue, enqueue, getLockResource, getLocks, queueHasRunnables, queueSize
addBack, addFront, addFront, getNullPollCalls, getPollCalls, hasRunnables, poll, push, schedLock, schedUnlock, signalAll, size, start, stop, waitProcedure, wakeEvents, wakePollIfNeeded, wakeProcedure, wakeWaitingProcedures
private int completionCalls
private int addFrontCalls
private int addBackCalls
private int yieldCalls
private int pollCalls
public TestScheduler()
public void addFront(org.apache.hadoop.hbase.procedure2.Procedure proc)
addFront
in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
addFront
in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
public void addBack(org.apache.hadoop.hbase.procedure2.Procedure proc)
addBack
in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
addBack
in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
public void yield(org.apache.hadoop.hbase.procedure2.Procedure proc)
yield
in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
yield
in class org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
public org.apache.hadoop.hbase.procedure2.Procedure poll()
poll
in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
poll
in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
public org.apache.hadoop.hbase.procedure2.Procedure poll(long timeout, TimeUnit unit)
poll
in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
poll
in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
public void completionCleanup(org.apache.hadoop.hbase.procedure2.Procedure proc)
completionCleanup
in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
completionCleanup
in class org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.