public class ScriptExecutorFactory extends Object
Modifier and Type | Method and Description |
---|---|
static Executor |
getScriptExecutor(String executorPoolSize)
This method will return the script executor according to the given
ScriptExecutorType |
static void |
releaseScriptExecutor(Executor executor)
This method will release the script executor to the pool
|
public static Executor getScriptExecutor(String executorPoolSize) throws InterruptedException
ScriptExecutorType
InterruptedException
public static void releaseScriptExecutor(Executor executor) throws InterruptedException
InterruptedException
Copyright © 2018 WSO2. All rights reserved.