Client.AliasClusteredClient.@Deprecated public static class Client.ReboundClusteredClient extends Client
Client.ClusteredClient that rebinds requests to a
specified Graph or TraversalSource instances on the server-side.Client.AliasClusteredClient, Client.ClusteredClient, Client.ReboundClusteredClient, Client.SessionedClient, Client.SessionSettings, Client.Settingscluster, initialized, settings| Modifier and Type | Method and Description |
|---|---|
Client |
alias(Map<String,String> aliases)
Deprecated.
Creates a
Client that supplies the specified set of aliases, thus allowing the user to re-name
one or more globally defined Graph or TraversalSource server bindings for the context of
the created Client. |
RequestMessage.Builder |
buildMessage(RequestMessage.Builder builder)
Deprecated.
Makes any final changes to the builder and returns the constructed
RequestMessage. |
protected org.apache.tinkerpop.gremlin.driver.Connection |
chooseConnection(RequestMessage msg)
Deprecated.
Delegates to the underlying
Client.ClusteredClient. |
CompletableFuture<Void> |
closeAsync()
Deprecated.
Prevents messages from being sent from this
Client. |
Client |
init()
Deprecated.
Initializes the client which typically means that a connection is established to the server.
|
protected void |
initializeImplementation()
Deprecated.
Called in the
Client.init() method. |
boolean |
isClosing()
Deprecated.
|
Client |
rebind(String graphOrTraversalSource)
Deprecated.
|
CompletableFuture<ResultSet> |
submitAsync(Bytecode bytecode)
Deprecated.
An asynchronous version of
Client.submit(Traversal). |
CompletableFuture<ResultSet> |
submitAsync(RequestMessage msg)
Deprecated.
A low-level method that allows the submission of a manually constructed
RequestMessage. |
CompletableFuture<ResultSet> |
submitAsync(Traversal traversal)
Deprecated.
An asynchronous version of
Client.submit(Traversal). |
alias, close, getCluster, getSettings, makeDefaultAliasMap, rebind, submit, submit, submit, submit, submitAsync, submitAsync, submitAsync, submitAsyncpublic CompletableFuture<ResultSet> submitAsync(Bytecode bytecode)
ClientClient.submit(Traversal).submitAsync in class Clientpublic CompletableFuture<ResultSet> submitAsync(RequestMessage msg)
ClientRequestMessage.submitAsync in class Clientpublic CompletableFuture<ResultSet> submitAsync(Traversal traversal)
ClientClient.submit(Traversal).submitAsync in class Clientpublic Client init()
Clientpublic RequestMessage.Builder buildMessage(RequestMessage.Builder builder)
ClientRequestMessage. Implementers
may choose to override this message to append data to the request before sending. By default, this method
will simply return the builder passed in by the caller.buildMessage in class Clientprotected void initializeImplementation()
ClientClient.init() method.initializeImplementation in class Clientprotected org.apache.tinkerpop.gremlin.driver.Connection chooseConnection(RequestMessage msg) throws TimeoutException, ConnectionException
Client.ClusteredClient.chooseConnection in class ClientTimeoutExceptionConnectionExceptionpublic CompletableFuture<Void> closeAsync()
Client. Note that calling this method does not call
close on the Client that created it.closeAsync in class Client@Deprecated public Client rebind(String graphOrTraversalSource)
Client that aliases the specified Graph or TraversalSource name on the
server to a variable called "g" for the context of the requests made through that Client.Copyright © 2013–2016 Apache Software Foundation. All rights reserved.