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
Exception
void submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception
Exception
default List<ResponseMessage> submit(String gremlin) throws Exception
Exception
List<ResponseMessage> submit(RequestMessage requestMessage) throws Exception
Exception
default CompletableFuture<List<ResponseMessage>> submitAsync(String gremlin) throws Exception
Exception
CompletableFuture<List<ResponseMessage>> submitAsync(RequestMessage requestMessage) throws Exception
Exception
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.