public class PythonExecutionCachedEngine extends ExecutionCachedEngine<PythonExecutor> implements PythonExecutionEngine
| Constructor and Description |
|---|
PythonExecutionCachedEngine() |
| Modifier and Type | Method and Description |
|---|---|
protected PythonExecutor |
createNewExecutor(Set<String> filePaths) |
PythonEvaluationResult |
eval(String prepareEnvironmentScript,
String script,
Map<String,Serializable> vars) |
PythonExecutionResult |
exec(Set<String> dependencies,
String script,
Map<String,Serializable> vars) |
protected int |
getCacheSize() |
protected DependencyService |
getDependencyService() |
allocateExecutor, releaseExecutorgeneratedDependenciesKeypublic PythonExecutionResult exec(Set<String> dependencies, String script, Map<String,Serializable> vars)
exec in interface PythonExecutionEnginepublic PythonEvaluationResult eval(String prepareEnvironmentScript, String script, Map<String,Serializable> vars)
eval in interface PythonExecutionEngineprotected DependencyService getDependencyService()
getDependencyService in class ExecutionCachedEngine<PythonExecutor>protected int getCacheSize()
getCacheSize in class ExecutionCachedEngine<PythonExecutor>protected PythonExecutor createNewExecutor(Set<String> filePaths)
createNewExecutor in class ExecutionCachedEngine<PythonExecutor>Copyright © 2016. All Rights Reserved.