Class PooledChainLinkExecutor
- java.lang.Object
-
- java.util.concurrent.AbstractExecutorService
-
- java.util.concurrent.ThreadPoolExecutor
-
- com.networknt.aws.lambda.handler.chain.PooledChainLinkExecutor
-
- All Implemented Interfaces:
Executor,ExecutorService
public class PooledChainLinkExecutor extends ThreadPoolExecutor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
-
-
Constructor Summary
Constructors Constructor Description PooledChainLinkExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortExecution()protected voidaddChainableResult(com.networknt.status.Status result)voidexecuteChain(LightLambdaExchange exchange, Chain chain)List<com.networknt.status.Status>getChainResults()-
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, toString
-
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
-
-
-
-
Method Detail
-
executeChain
public void executeChain(LightLambdaExchange exchange, Chain chain)
-
abortExecution
public void abortExecution()
-
addChainableResult
protected void addChainableResult(com.networknt.status.Status result)
-
getChainResults
public List<com.networknt.status.Status> getChainResults()
-
-