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 class
AbstractSession
A base implementation ofSession
which offers some common functionality that matches typical Gremlin Server request response expectations for script, bytecode and graph operations.class
MultiTaskSession
ASession
implementation 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.class
SingleTaskSession
A simpleSession
implementation 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. sessions
protected ConcurrentMap<String,Session>
UnifiedHandler. sessions
Methods in org.apache.tinkerpop.gremlin.server.handler that return Session Modifier and Type Method Description protected Session
UnifiedHandler. createMultiTaskSession(SessionTask sessionTask, String sessionId)
Called when creating aSession
that will be long-lived to extend over multiple requests and therefore process the providedSessionTask
as well as ones that may arrive in the future.protected Session
UnifiedHandler. createSingleTaskSession(SessionTask sessionTask, String sessionId)
Called when creating a single task session where the providedSessionTask
will 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 newMultiTaskSession
object providing the initial startingSessionTask
that gets executed by the session when it starts.SingleTaskSession(SessionTask onlySessionTask, String sessionId, ConcurrentMap<String,Session> sessions)
Constructs aSingleTaskSession
that has the task to execute supplied on construction.
-