| Package | Description | 
|---|---|
| org.apache.tinkerpop.gremlin.groovy.engine | 
| Modifier and Type | Method and Description | 
|---|---|
| GremlinExecutor.Builder | GremlinExecutor.Builder. addEngineSettings(String engineName,
                 List<String> imports,
                 List<String> staticImports,
                 List<String> scripts,
                 Map<String,Object> config)Add a particular script engine for the executor to instantiate. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. afterFailure(BiConsumer<Bindings,Throwable> afterFailure)A  Consumerto execute in the event of failure. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. afterSuccess(Consumer<Bindings> afterSuccess)A  Consumerto execute just after successful script evaluation. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. afterTimeout(Consumer<Bindings> afterTimeout)A  Consumerto execute if the script times out. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. beforeEval(Consumer<Bindings> beforeEval)A  Consumerto execute just before the script evaluation. | 
| static GremlinExecutor.Builder | GremlinExecutor. build()Create a  Builderwith the gremlin-groovy ScriptEngine configured. | 
| static GremlinExecutor.Builder | GremlinExecutor. build(String engineName,
     List<String> imports,
     List<String> staticImports,
     List<String> scripts,
     Map<String,Object> config)Create a  Builderand specify the first ScriptEngine to be included. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. enabledPlugins(Set<String> enabledPlugins)Set of the names of plugins that should be enabled for the engine. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. engineSettings(Map<String,org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.EngineSettings> settings)Replaces any settings provided by  engineSettings(java.util.Map). | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. executorService(ExecutorService executorService)The thread pool used to evaluate scripts. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. globalBindings(Bindings bindings)Bindings to apply to every script evaluated. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)The thread pool used to schedule timeouts on scripts. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. scriptEvaluationTimeout(long scriptEvaluationTimeout)Amount of time a script has before it times out. | 
| GremlinExecutor.Builder | GremlinExecutor.Builder. use(List<List<String>> use)A set of maven coordinates for dependencies to be applied for the script engine instances. | 
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.