org.apache.hadoop.hbase.hbql.impl
Class AsyncExecutorImpl

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.impl.AsyncExecutorImpl
All Implemented Interfaces:
AsyncExecutor

public class AsyncExecutorImpl
extends Object
implements AsyncExecutor


Constructor Summary
AsyncExecutorImpl(String poolName, int minThreadCount, int maxThreadCount, long keepAliveSecs)
           
 
Method Summary
 long getKeepAliveSecs()
           
 int getMaxThreadCount()
           
 int getMinThreadCount()
           
 String getName()
           
 boolean isShutdown()
           
 void resetElement()
           
 void shutdown()
           
 QueryFuture submit(AsyncRunnable job)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncExecutorImpl

public AsyncExecutorImpl(String poolName,
                         int minThreadCount,
                         int maxThreadCount,
                         long keepAliveSecs)
Method Detail

resetElement

public void resetElement()

submit

public QueryFuture submit(AsyncRunnable job)

isShutdown

public boolean isShutdown()

shutdown

public void shutdown()

getName

public String getName()
Specified by:
getName in interface AsyncExecutor

getMinThreadCount

public int getMinThreadCount()
Specified by:
getMinThreadCount in interface AsyncExecutor

getMaxThreadCount

public int getMaxThreadCount()
Specified by:
getMaxThreadCount in interface AsyncExecutor

getKeepAliveSecs

public long getKeepAliveSecs()
Specified by:
getKeepAliveSecs in interface AsyncExecutor


Copyright © 2011. All Rights Reserved.