org.hbase.async
Class MapRThreadPool

java.lang.Object
  extended by org.hbase.async.MapRThreadPool
All Implemented Interfaces:
com.mapr.fs.jni.MapRCallBackQueue

public class MapRThreadPool
extends Object
implements com.mapr.fs.jni.MapRCallBackQueue


Field Summary
static int DEFAULT_CALLBACK_THREADS
           
static int DEFAULT_WORKER_THREADS
           
static int MAX_SCAN_THREADS
           
static int MIN_SCAN_THREADS
           
 
Method Summary
 void addRequest(HBaseRpc dummyRpc, Scanner scan, MapRThreadPool mpool)
           
 void addToQ(org.hbase.async.MapRThreadPool.MapRScanPlus mscanPlus)
           
 void closeScanner(com.stumbleupon.async.Deferred<?> d, com.mapr.fs.MapRHTable mTable, Scanner scan)
           
 void doFlush(com.stumbleupon.async.Deferred<?> deferred, com.mapr.fs.MapRHTable mTable)
           
 boolean hasRemainingCapacity()
           
 void runCallbackChain(LinkedList<Object> requests, LinkedList<Object> responses)
           
 void sendRpc(HBaseRpc rpc, com.mapr.fs.MapRHTable mTable)
           
 void shutdown()
           
 org.hbase.async.MapRThreadPool.MapRScanPlus takeFromQ()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_WORKER_THREADS

public static final int DEFAULT_WORKER_THREADS
See Also:
Constant Field Values

DEFAULT_CALLBACK_THREADS

public static final int DEFAULT_CALLBACK_THREADS
See Also:
Constant Field Values

MIN_SCAN_THREADS

public static final int MIN_SCAN_THREADS
See Also:
Constant Field Values

MAX_SCAN_THREADS

public static final int MAX_SCAN_THREADS
See Also:
Constant Field Values
Method Detail

hasRemainingCapacity

public boolean hasRemainingCapacity()

addToQ

public void addToQ(org.hbase.async.MapRThreadPool.MapRScanPlus mscanPlus)

takeFromQ

public org.hbase.async.MapRThreadPool.MapRScanPlus takeFromQ()

sendRpc

public void sendRpc(HBaseRpc rpc,
                    com.mapr.fs.MapRHTable mTable)

doFlush

public void doFlush(com.stumbleupon.async.Deferred<?> deferred,
                    com.mapr.fs.MapRHTable mTable)

closeScanner

public void closeScanner(com.stumbleupon.async.Deferred<?> d,
                         com.mapr.fs.MapRHTable mTable,
                         Scanner scan)

runCallbackChain

public void runCallbackChain(LinkedList<Object> requests,
                             LinkedList<Object> responses)
Specified by:
runCallbackChain in interface com.mapr.fs.jni.MapRCallBackQueue

shutdown

public void shutdown()

addRequest

public void addRequest(HBaseRpc dummyRpc,
                       Scanner scan,
                       MapRThreadPool mpool)


Copyright © 2010-2014, The Async HBase Authors