Class Client.AliasClusteredClient

    • Method Detail

      • submitAsync

        public CompletableFuture<ResultSet> submitAsync​(org.apache.tinkerpop.gremlin.util.message.RequestMessage msg)
        Description copied from class: Client
        A low-level method that allows the submission of a manually constructed RequestMessage.
        submitAsync in class Client
      • init

        public Client init()
        Description copied from class: Client
        Initializes the client which typically means that a connection is established to the server. Depending on the implementation and configuration this blocking call may take some time. This method will be called automatically if it is not called directly and multiple calls will not have effect.
        init in class Client
      • buildMessage

        public org.apache.tinkerpop.gremlin.util.message.RequestMessage.Builder buildMessage​(org.apache.tinkerpop.gremlin.util.message.RequestMessage.Builder builder)
        Description copied from class: Client
        Makes any initial changes to the builder and returns the constructed RequestMessage. 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 Client
      • chooseConnection

        protected org.apache.tinkerpop.gremlin.driver.Connection chooseConnection​(org.apache.tinkerpop.gremlin.util.message.RequestMessage msg)
                                                                           throws TimeoutException,
        Delegates to the underlying Client.ClusteredClient.
        Specified by:
        chooseConnection in class Client
      • isClosing

        public boolean isClosing()
        Specified by:
        isClosing in class Client
      • alias

        public Client alias​(Map<String,​String> aliases)
        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.
        alias in class Client