Class GremlinExecutor.LifeCycle

  • Enclosing class:
    GremlinExecutor

    public static class GremlinExecutor.LifeCycle
    extends Object
    The lifecycle of execution within the #eval(String, String, Bindings, LifeCycle) method. Since scripts are executed in a thread pool and graph transactions are bound to a thread all actions related to that script evaluation, both before and after that evaluation, need to be executed in the same thread. This leads to a lifecycle of actions that can occur within that evaluation. Note that some of these options can be globally set on the GremlinExecutor itself through the GremlinExecutor.Builder. If specified here, they will override those global settings.