Class CBLExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor, java.util.concurrent.ExecutorService

    public class CBLExecutor
    extends java.util.concurrent.ThreadPoolExecutor
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor

        java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
    • Constructor Summary

      Constructors 
      Constructor Description
      CBLExecutor​(java.lang.String name)  
      CBLExecutor​(java.lang.String name, int min, int max, java.util.concurrent.BlockingQueue<java.lang.Runnable> workQueue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dumpState()  
      void execute​(java.lang.Runnable task)  
      java.lang.String toString()  
      • Methods inherited from class java.util.concurrent.ThreadPoolExecutor

        allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, 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, wait, wait, wait
    • Constructor Detail

      • CBLExecutor

        public CBLExecutor​(@NonNull
                           java.lang.String name)
      • CBLExecutor

        public CBLExecutor​(@NonNull
                           java.lang.String name,
                           int min,
                           int max,
                           @NonNull
                           java.util.concurrent.BlockingQueue<java.lang.Runnable> workQueue)
    • Method Detail

      • execute

        public void execute​(@NonNull
                            java.lang.Runnable task)
        Specified by:
        execute in interface java.util.concurrent.Executor
        Overrides:
        execute in class java.util.concurrent.ThreadPoolExecutor
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.util.concurrent.ThreadPoolExecutor
      • dumpState

        public void dumpState()