public final class Context extends Object
Constructor and Description |
---|
Context(RequestMessage requestMessage,
ChannelHandlerContext ctx,
Settings settings,
GraphManager graphManager,
GremlinExecutor gremlinExecutor,
ScheduledExecutorService scheduledExecutorService) |
Modifier and Type | Method and Description |
---|---|
ChannelHandlerContext |
getChannelHandlerContext()
Gets the Netty context.
|
GraphManager |
getGraphManager()
Gets the set of
Graph objects configured in Gremlin Server. |
GremlinExecutor |
getGremlinExecutor()
Gets the executor chosen to evaluate incoming Gremlin scripts based on the request.
|
RequestMessage |
getRequestMessage()
Gets the current request to Gremlin Server.
|
ScheduledExecutorService |
getScheduledExecutorService() |
Settings |
getSettings()
Gets the current configuration of Gremlin Server.
|
public Context(RequestMessage requestMessage, ChannelHandlerContext ctx, Settings settings, GraphManager graphManager, GremlinExecutor gremlinExecutor, ScheduledExecutorService scheduledExecutorService)
public ScheduledExecutorService getScheduledExecutorService()
public RequestMessage getRequestMessage()
public ChannelHandlerContext getChannelHandlerContext()
public Settings getSettings()
public GraphManager getGraphManager()
Graph
objects configured in Gremlin Server.public GremlinExecutor getGremlinExecutor()
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.