protected static class MigrationServiceImpl.MigrationThreadPoolExecutor extends ThreadPoolExecutor
Runnables to be able to request shutdown on them.ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Modifier and Type | Field and Description | 
|---|---|
| protected List<MigrationServiceImpl.MigratorWithContext> | runnables | 
| Constructor and Description | 
|---|
| MigrationThreadPoolExecutor() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | afterExecute(Runnable runnable,
            Throwable t) | 
| protected void | beforeExecute(Thread thread,
             Runnable runnable) | 
| void | requestShutdown() | 
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, 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, toStringinvokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitprotected final List<MigrationServiceImpl.MigratorWithContext> runnables
public MigrationThreadPoolExecutor()
protected void beforeExecute(Thread thread, Runnable runnable)
beforeExecute in class ThreadPoolExecutorprotected void afterExecute(Runnable runnable, Throwable t)
afterExecute in class ThreadPoolExecutorpublic void requestShutdown()
Copyright © 2018 Nuxeo. All rights reserved.