org.apache.blur.concurrent
Class BlurThreadPoolExecutor
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
org.apache.blur.concurrent.BlurThreadPoolExecutor
- All Implemented Interfaces:
- Executor, ExecutorService
public class BlurThreadPoolExecutor
- extends ThreadPoolExecutor
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 |
BlurThreadPoolExecutor
public BlurThreadPoolExecutor(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
ThreadFactory threadFactory)
add
public void add(ThreadBoundaryProcessor processor)
remove
public void remove(ThreadBoundaryProcessor processor)
getPrePostCollection
public List<ThreadBoundaryProcessor> getPrePostCollection()
execute
public void execute(Runnable command)
- Specified by:
execute
in interface Executor
- Overrides:
execute
in class ThreadPoolExecutor
submit
public Future<?> submit(Runnable task)
- Specified by:
submit
in interface ExecutorService
- Overrides:
submit
in class AbstractExecutorService
submit
public <T> Future<T> submit(Runnable task,
T result)
- Specified by:
submit
in interface ExecutorService
- Overrides:
submit
in class AbstractExecutorService
submit
public <T> Future<T> submit(Callable<T> task)
- Specified by:
submit
in interface ExecutorService
- Overrides:
submit
in class AbstractExecutorService
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.