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

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private int
     
    private int
     
    private int
     
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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
     
    org.apache.hadoop.hbase.procedure2.Procedure
    poll(long timeout, TimeUnit unit)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • addFront

      public void addFront(org.apache.hadoop.hbase.procedure2.Procedure proc)
      Specified by:
      addFront in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
      Overrides:
      addFront in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
    • addBack

      public void addBack(org.apache.hadoop.hbase.procedure2.Procedure proc)
      Specified by:
      addBack in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
      Overrides:
      addBack in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
    • yield

      public void yield(org.apache.hadoop.hbase.procedure2.Procedure proc)
      Specified by:
      yield in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
      Overrides:
      yield in class org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler
    • poll

      public org.apache.hadoop.hbase.procedure2.Procedure poll()
      Specified by:
      poll in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
      Overrides:
      poll in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
    • poll

      public org.apache.hadoop.hbase.procedure2.Procedure poll(long timeout, TimeUnit unit)
      Specified by:
      poll in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
      Overrides:
      poll in class org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler
    • completionCleanup

      public void completionCleanup(org.apache.hadoop.hbase.procedure2.Procedure proc)
      Specified by:
      completionCleanup in interface org.apache.hadoop.hbase.procedure2.ProcedureScheduler
      Overrides:
      completionCleanup in class org.apache.hadoop.hbase.procedure2.SimpleProcedureScheduler