org.ojalgo.concurrent
Class DaemonPoolExecutor

java.lang.Object
  extended by java.util.concurrent.AbstractExecutorService
      extended by java.util.concurrent.ThreadPoolExecutor
          extended by org.ojalgo.concurrent.DaemonPoolExecutor
All Implemented Interfaces:
Executor, ExecutorService

public final class DaemonPoolExecutor
extends ThreadPoolExecutor


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
 
Field Summary
static DaemonPoolExecutor INSTANCE
           
 
Method Summary
 int countActiveDaemons()
           
 int countExistingDaemons()
           
 int countIdleDaemons()
           
 int countPotentialDaemons()
           
 boolean isDaemonAvailable()
           
static DaemonPoolExecutor makeSingle()
           
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, execute, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow
 
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DaemonPoolExecutor INSTANCE
Method Detail

makeSingle

public static final DaemonPoolExecutor makeSingle()

countActiveDaemons

public int countActiveDaemons()

countExistingDaemons

public int countExistingDaemons()

countIdleDaemons

public int countIdleDaemons()

countPotentialDaemons

public int countPotentialDaemons()

isDaemonAvailable

public boolean isDaemonAvailable()