Class TestAsyncClientPauseForServerOverloaded.OverloadedQueue

java.lang.Object
org.apache.hadoop.hbase.ipc.PluggableBlockingQueue
org.apache.hadoop.hbase.ipc.TestPluggableQueueImpl
org.apache.hadoop.hbase.client.TestAsyncClientPauseForServerOverloaded.OverloadedQueue
All Implemented Interfaces:
Iterable<org.apache.hadoop.hbase.ipc.CallRunner>, Collection<org.apache.hadoop.hbase.ipc.CallRunner>, BlockingQueue<org.apache.hadoop.hbase.ipc.CallRunner>, Queue<org.apache.hadoop.hbase.ipc.CallRunner>, org.apache.hadoop.hbase.conf.ConfigurationObserver
Enclosing class:
TestAsyncClientPauseForServerOverloaded

  • Constructor Details

    • OverloadedQueue

      public OverloadedQueue(int maxQueueLength, org.apache.hadoop.hbase.ipc.PriorityFunction priority, org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • offer

      public boolean offer(org.apache.hadoop.hbase.ipc.CallRunner callRunner)
      Specified by:
      offer in interface BlockingQueue<org.apache.hadoop.hbase.ipc.CallRunner>
      Specified by:
      offer in interface Queue<org.apache.hadoop.hbase.ipc.CallRunner>
      Overrides:
      offer in class TestPluggableQueueImpl