GremlinExecutor.Builder |
GremlinExecutor.Builder.addPlugins(String engineName,
Map<String,Map<String,Object>> plugins) |
|
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.
|