Package | Description |
---|---|
org.apache.tinkerpop.gremlin.groovy.engine |
Modifier and Type | Method and Description |
---|---|
GremlinExecutor.Builder |
GremlinExecutor.Builder.addPlugins(String engineName,
Map<String,Map<String,Object>> plugins)
Add a configuration for a
GremlinPlugin to the executor. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.afterFailure(BiConsumer<Bindings,Throwable> afterFailure)
A
Consumer to execute in the event of failure. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.afterSuccess(Consumer<Bindings> afterSuccess)
A
Consumer to execute just after successful script evaluation. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.afterTimeout(Consumer<Bindings> afterTimeout)
A
Consumer to execute if the script times out. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.beforeEval(Consumer<Bindings> beforeEval)
A
Consumer to execute just before the script evaluation. |
static GremlinExecutor.Builder |
GremlinExecutor.build()
Create a
Builder with the gremlin-groovy ScriptEngine configured. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.evaluationTimeout(long evaluationTimeout)
Amount of time an evaluation has before it times out.
|
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)
Deprecated.
As of release 3.3.9, replaced by
evaluationTimeout . |
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.