Class GremlinServer
java.lang.Object
org.apache.tinkerpop.gremlin.server.GremlinServer
Start and stop Gremlin Server.
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGremlinServer(Settings settings) Construct a Gremlin Server instance fromSettings.GremlinServer(Settings settings, ExecutorService gremlinExecutorService) Construct a Gremlin Server instance fromSettingsandExecutorService. -
Method Summary
-
Field Details
-
AUDIT_LOGGER_NAME
- See Also:
-
-
Constructor Details
-
GremlinServer
Construct a Gremlin Server instance fromSettings. -
GremlinServer
Construct a Gremlin Server instance fromSettingsandExecutorService. This constructor is useful when Gremlin Server is being used in an embedded style and there is a need to share thread pools with the hosting application.
-
-
Method Details
-
start
Start Gremlin Server withSettingsprovided to the constructor.- Throws:
Exception
-
stop
Stop Gremlin Server and free the port binding. Note that multiple calls to this method will return the same instance of theCompletableFuture. -
getServerGremlinExecutor
-
getChannelizer
-
main
- Throws:
Exception
-
getHeader
-
toString
-