public class GremlinServer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AUDIT_LOGGER_NAME |
| Constructor and Description |
|---|
GremlinServer(Settings settings)
Construct a Gremlin Server instance from
Settings. |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHeader() |
ServerGremlinExecutor |
getServerGremlinExecutor() |
static void |
main(String[] args) |
CompletableFuture<ServerGremlinExecutor> |
start()
Start Gremlin Server with
Settings provided to the constructor. |
CompletableFuture<Void> |
stop()
Stop Gremlin Server and free the port binding.
|
String |
toString() |
public static final String AUDIT_LOGGER_NAME
public CompletableFuture<ServerGremlinExecutor> start() throws Exception
Settings provided to the constructor.Exceptionpublic CompletableFuture<Void> stop()
CompletableFuture.public ServerGremlinExecutor getServerGremlinExecutor()
public static String getHeader()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.