org.ujmp.core.util.concurrent
Class UJMPThreadPoolExecutor

java.lang.Object
  extended by java.util.concurrent.AbstractExecutorService
      extended by java.util.concurrent.ThreadPoolExecutor
          extended by org.ujmp.core.util.concurrent.UJMPThreadPoolExecutor
All Implemented Interfaces:
Executor, ExecutorService

public class UJMPThreadPoolExecutor
extends ThreadPoolExecutor


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
 
Constructor Summary
UJMPThreadPoolExecutor(String name, int corePoolSize, int maximumPoolSize)
           
UJMPThreadPoolExecutor(String name, int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue)
           
UJMPThreadPoolExecutor(String name, int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, int priority, boolean deamon)
           
 
Method Summary
static ThreadPoolExecutor getInstance()
           
static ThreadPoolExecutor getInstance(int maximumPoolSize)
           
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, finalize, 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, terminated
 
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UJMPThreadPoolExecutor

public UJMPThreadPoolExecutor(String name,
                              int corePoolSize,
                              int maximumPoolSize,
                              long keepAliveTime,
                              TimeUnit unit,
                              BlockingQueue<Runnable> workQueue,
                              int priority,
                              boolean deamon)

UJMPThreadPoolExecutor

public UJMPThreadPoolExecutor(String name,
                              int corePoolSize,
                              int maximumPoolSize)

UJMPThreadPoolExecutor

public UJMPThreadPoolExecutor(String name,
                              int corePoolSize,
                              int maximumPoolSize,
                              long keepAliveTime,
                              TimeUnit unit,
                              BlockingQueue<Runnable> workQueue)
Method Detail

getInstance

public static final ThreadPoolExecutor getInstance()

getInstance

public static final ThreadPoolExecutor getInstance(int maximumPoolSize)


Copyright © 2010. All Rights Reserved.