public interface SimpleClient extends Closeable
| Modifier and Type | Method and Description |
|---|---|
List<ResponseMessage> |
submit(RequestMessage requestMessage) |
void |
submit(RequestMessage requestMessage,
Consumer<ResponseMessage> callback) |
default List<ResponseMessage> |
submit(String gremlin) |
default void |
submit(String gremlin,
Consumer<ResponseMessage> callback) |
CompletableFuture<List<ResponseMessage>> |
submitAsync(RequestMessage requestMessage) |
default CompletableFuture<List<ResponseMessage>> |
submitAsync(String gremlin) |
default void submit(String gremlin, Consumer<ResponseMessage> callback) throws Exception
Exceptionvoid submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception
Exceptiondefault List<ResponseMessage> submit(String gremlin) throws Exception
ExceptionList<ResponseMessage> submit(RequestMessage requestMessage) throws Exception
Exceptiondefault CompletableFuture<List<ResponseMessage>> submitAsync(String gremlin) throws Exception
ExceptionCompletableFuture<List<ResponseMessage>> submitAsync(RequestMessage requestMessage) throws Exception
ExceptionCopyright © 2013–2019 Apache Software Foundation. All rights reserved.