Uses of Interface
org.apache.tinkerpop.gremlin.server.handler.Session
-
Packages that use Session Package Description org.apache.tinkerpop.gremlin.server.handler -
-
Uses of Session in org.apache.tinkerpop.gremlin.server.handler
Classes in org.apache.tinkerpop.gremlin.server.handler that implement Session Modifier and Type Class Description classAbstractSessionA base implementation ofSessionwhich offers some common functionality that matches typical Gremlin Server request response expectations for script, bytecode and graph operations.classMultiTaskSessionASessionimplementation that queues tasks given to it and executes them in a serial fashion within the same thread which thus allows multiple tasks to be executed in the same transaction.classSingleTaskSessionA simpleSessionimplementation that accepts one request, processes it and exits.Fields in org.apache.tinkerpop.gremlin.server.handler with type parameters of type Session Modifier and Type Field Description protected ConcurrentMap<String,Session>AbstractSession. sessionsprotected ConcurrentMap<String,Session>UnifiedHandler. sessionsMethods in org.apache.tinkerpop.gremlin.server.handler that return Session Modifier and Type Method Description protected SessionUnifiedHandler. createMultiTaskSession(SessionTask sessionTask, String sessionId)Called when creating aSessionthat will be long-lived to extend over multiple requests and therefore process the providedSessionTaskas well as ones that may arrive in the future.protected SessionUnifiedHandler. createSingleTaskSession(SessionTask sessionTask, String sessionId)Called when creating a single task session where the providedSessionTaskwill be the only one to be executed and can therefore take a more efficient execution path.Constructor parameters in org.apache.tinkerpop.gremlin.server.handler with type arguments of type Session Constructor Description MultiTaskSession(SessionTask initialSessionTask, String sessionId, ConcurrentMap<String,Session> sessions)Creates a newMultiTaskSessionobject providing the initial startingSessionTaskthat gets executed by the session when it starts.SingleTaskSession(SessionTask onlySessionTask, String sessionId, ConcurrentMap<String,Session> sessions)Constructs aSingleTaskSessionthat has the task to execute supplied on construction.
-