Package io.datarouter.client.hbase.pool
Class HBaseTableExecutorService
java.lang.Object
io.datarouter.client.hbase.pool.HBaseTableExecutorService
public class HBaseTableExecutorService extends Object
-
Constructor Summary
Constructors Constructor Description HBaseTableExecutorService(int minThreads, int maxThreads) -
Method Summary
Modifier and Type Method Description ThreadPoolExecutorgetExec()booleanisDyingOrDead(String tableNameForLog)booleanisExpired()booleanisTaskQueueEmpty()voidmarkLastCheckinMs()voidpurge()voidterminateAndBlockUntilFinished()booleanwaitForActiveThreadsToSettle(String tableNameForLog)
-
Constructor Details
-
HBaseTableExecutorService
public HBaseTableExecutorService(int minThreads, int maxThreads)
-
-
Method Details
-
markLastCheckinMs
public void markLastCheckinMs() -
isExpired
public boolean isExpired() -
purge
public void purge() -
isTaskQueueEmpty
public boolean isTaskQueueEmpty() -
isDyingOrDead
-
waitForActiveThreadsToSettle
-
terminateAndBlockUntilFinished
public void terminateAndBlockUntilFinished() -
getExec
-