public class Session extends Object
Constructor and Description |
---|
Session(String session,
Context context,
ConcurrentHashMap<String,Session> sessions) |
Modifier and Type | Method and Description |
---|---|
Bindings |
getBindings() |
ExecutorService |
getExecutor() |
GremlinExecutor |
getGremlinExecutor() |
String |
getSessionId() |
void |
kill()
Kills the session and rollback any uncommitted changes on transactional graphs.
|
void |
manualKill()
Stops the session with call to
kill() but also stops the session expiration call which ensures that
the session is only killed once. |
void |
touch() |
public Session(String session, Context context, ConcurrentHashMap<String,Session> sessions)
public GremlinExecutor getGremlinExecutor()
public Bindings getBindings()
public ExecutorService getExecutor()
public String getSessionId()
public void touch()
public void manualKill()
kill()
but also stops the session expiration call which ensures that
the session is only killed once.public void kill()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.