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. | 
| GremlinServer(Settings settings,
             ExecutorService gremlinExecutorService)Construct a Gremlin Server instance from  SettingsandExecutorService. | 
| Modifier and Type | Method and Description | 
|---|---|
| Channelizer | getChannelizer() | 
| static String | getHeader() | 
| ServerGremlinExecutor | getServerGremlinExecutor() | 
| static void | main(String[] args) | 
| CompletableFuture<ServerGremlinExecutor> | start()Start Gremlin Server with  Settingsprovided to the constructor. | 
| CompletableFuture<Void> | stop()Stop Gremlin Server and free the port binding. | 
| String | toString() | 
public static final String AUDIT_LOGGER_NAME
public GremlinServer(Settings settings)
Settings.public GremlinServer(Settings settings, ExecutorService gremlinExecutorService)
Settings and ExecutorService.
 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.public CompletableFuture<ServerGremlinExecutor> start() throws Exception
Settings provided to the constructor.Exceptionpublic CompletableFuture<Void> stop()
CompletableFuture.public ServerGremlinExecutor getServerGremlinExecutor()
public Channelizer getChannelizer()
public static String getHeader()
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.