org.gcube.application.aquamaps.aquamapsservice.impl.util
Class MyPooledExecutor
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
org.gcube.application.aquamaps.aquamapsservice.impl.util.MyPooledExecutor
- All Implemented Interfaces:
- Executor, ExecutorService, ExtendedExecutor
public class MyPooledExecutor
- extends ThreadPoolExecutor
- implements ExtendedExecutor
|
Nested Class Summary |
protected static class |
MyPooledExecutor.MyThreadFactory
Uses java.util.concurrent.Executors.defaultThreadFactory() setting threadLabel and priority (optional) |
| 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 interface java.util.concurrent.ExecutorService |
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit |
getDetails
public String getDetails()
- Specified by:
getDetails in interface ExtendedExecutor
getExecutor
public static ExtendedExecutor getExecutor(String threadLabel,
int maxThread)
Copyright © 2013. All Rights Reserved.