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 |
|---|---|
void |
execute(Runnable task) |
void |
submitJobAndSetState(org.wso2.micro.gateway.core.globalthrottle.databridge.agent.endpoint.DataEndpoint.EventPublisher publisher,
DataEndpoint dataEndpoint) |
afterExecute, 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(org.wso2.micro.gateway.core.globalthrottle.databridge.agent.endpoint.DataEndpoint.EventPublisher publisher,
DataEndpoint dataEndpoint)
Copyright © 2024 WSO2. All rights reserved.