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 MAX_THREADS
           
static int MIN_THREADS
           
 
Method Summary
 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)
           
 org.hbase.async.MapRThreadPool.ScanRpcRunnable newScanner(com.mapr.fs.MapRHTable mtable, Scanner scan)
           
 void runCallbackChain(LinkedList<Object> requests, LinkedList<Object> responses)
           
 void sendRpc(HBaseRpc rpc, com.mapr.fs.MapRHTable mTable)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_THREADS

public static final int MIN_THREADS
See Also:
Constant Field Values

MAX_THREADS

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

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)

newScanner

public org.hbase.async.MapRThreadPool.ScanRpcRunnable newScanner(com.mapr.fs.MapRHTable mtable,
                                                                 Scanner scan)

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()


Copyright © 2010-2013, The Async HBase Authors