public class EventPublisherThreadPoolExecutor extends ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy| Constructor and Description |
|---|
EventPublisherThreadPoolExecutor(int corePoolSize,
int maxPoolSize,
long keepAliveTimeInPool,
String receiverURL) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterExecute(Runnable r,
Throwable t) |
void |
execute(Runnable task) |
void |
submitJobAndSetState(Thread thread,
DataEndpoint dataEndpoint) |
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, 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, submitpublic EventPublisherThreadPoolExecutor(int corePoolSize,
int maxPoolSize,
long keepAliveTimeInPool,
String receiverURL)
public void execute(Runnable task)
execute in interface Executorexecute in class ThreadPoolExecutorpublic void submitJobAndSetState(Thread thread, DataEndpoint dataEndpoint)
protected void afterExecute(Runnable r, Throwable t)
afterExecute in class ThreadPoolExecutorCopyright © 2017 WSO2. All rights reserved.