Uses of Class
org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.Builder
Packages that use GremlinExecutor.Builder
-
Uses of GremlinExecutor.Builder in org.apache.tinkerpop.gremlin.groovy.engine
Methods in org.apache.tinkerpop.gremlin.groovy.engine that return GremlinExecutor.BuilderModifier and TypeMethodDescriptionAdd a configuration for aGremlinPluginto the executor.GremlinExecutor.Builder.afterFailure(BiConsumer<Bindings, Throwable> afterFailure) AConsumerto execute in the event of failure.GremlinExecutor.Builder.afterSuccess(Consumer<Bindings> afterSuccess) AConsumerto execute just after successful script evaluation.GremlinExecutor.Builder.afterTimeout(BiConsumer<Bindings, Throwable> afterTimeout) ABiConsumerto execute if the script times out.GremlinExecutor.Builder.afterTimeout(Consumer<Bindings> afterTimeout) Deprecated.GremlinExecutor.Builder.allowedEngineNames(Set<String> allowedEngineNames) Set the allowed engine names for theGremlinScriptEngineManager.GremlinExecutor.Builder.beforeEval(Consumer<Bindings> beforeEval) AConsumerto execute just before the script evaluation.static GremlinExecutor.BuilderGremlinExecutor.build()Create aBuilderwith the gremlin-groovy ScriptEngine configured.GremlinExecutor.Builder.executorService(ExecutorService executorService) The thread pool used to evaluate scripts.GremlinExecutor.Builder.globalBindings(Bindings bindings) Bindings to apply to every script evaluated.GremlinExecutor.Builder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) The thread pool used to schedule timeouts on scripts.GremlinExecutor.Builder.timeoutMillis(long timeoutMillis) Amount of time an evaluation has before it times out.
afterTimeout(BiConsumer).