public class ScopedWorkspaceThreadPoolExecutor extends ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Constructor and Description |
|---|
ScopedWorkspaceThreadPoolExecutor()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable command)
This overridden method ensures that the runnable is updated to have access threadlocal ESWorkspaceProviderImpl
from the requesting thread set as the threadlocal ESWorkspaceProviderImpl of the executing thread.
|
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, toStringpublic ScopedWorkspaceThreadPoolExecutor()
public void execute(Runnable command)
This overridden method ensures that the runnable is updated to have access threadlocal ESWorkspaceProviderImpl from the requesting thread set as the threadlocal ESWorkspaceProviderImpl of the executing thread.
execute in interface Executorexecute in class ThreadPoolExecutorThreadPoolExecutor.execute(java.lang.Runnable)Copyright © 2017. All rights reserved.