Package com.mchange.v2.c3p0
Class FixedThreadPoolExecutorTaskRunnerFactory.FixedThreadPoolExecutorAsynchronousRunner
- java.lang.Object
-
- com.mchange.v2.c3p0.AbstractExecutorTaskRunnerFactory.AbstractExecutorAsynchronousRunner
-
- com.mchange.v2.c3p0.FixedThreadPoolExecutorTaskRunnerFactory.FixedThreadPoolExecutorAsynchronousRunner
-
- All Implemented Interfaces:
com.mchange.v1.util.ClosableResource
,com.mchange.v2.async.AsynchronousRunner
,com.mchange.v2.async.ThreadPoolReportingAsynchronousRunner
- Enclosing class:
- FixedThreadPoolExecutorTaskRunnerFactory
protected final class FixedThreadPoolExecutorTaskRunnerFactory.FixedThreadPoolExecutorAsynchronousRunner extends AbstractExecutorTaskRunnerFactory.AbstractExecutorAsynchronousRunner
-
-
Field Summary
-
Fields inherited from class com.mchange.v2.c3p0.AbstractExecutorTaskRunnerFactory.AbstractExecutorAsynchronousRunner
init, timer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FixedThreadPoolExecutorAsynchronousRunner(TaskRunnerInit init, java.util.Timer timer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIdleCount()
int
getThreadCount()
-
Methods inherited from class com.mchange.v2.c3p0.AbstractExecutorTaskRunnerFactory.AbstractExecutorAsynchronousRunner
activeCount, close, close, executor, getActiveCount, getPendingTaskCount, getStackTraces, getStatus, isClosed, postRunnable, registerActive, snapshotActives, unregisterActive
-
-
-
-
Constructor Detail
-
FixedThreadPoolExecutorAsynchronousRunner
protected FixedThreadPoolExecutorAsynchronousRunner(TaskRunnerInit init, java.util.Timer timer)
-
-
Method Detail
-
getThreadCount
public int getThreadCount()
- Specified by:
getThreadCount
in interfacecom.mchange.v2.async.ThreadPoolReportingAsynchronousRunner
- Overrides:
getThreadCount
in classAbstractExecutorTaskRunnerFactory.AbstractExecutorAsynchronousRunner
-
getIdleCount
public int getIdleCount()
- Specified by:
getIdleCount
in interfacecom.mchange.v2.async.ThreadPoolReportingAsynchronousRunner
- Overrides:
getIdleCount
in classAbstractExecutorTaskRunnerFactory.AbstractExecutorAsynchronousRunner
-
-