Package | Description |
---|---|
org.apache.tinkerpop.gremlin.driver |
Modifier and Type | Class and Description |
---|---|
static class |
Client.ClusteredClient
A
Client implementation that does not operate in a session. |
static class |
Client.SessionedClient
A
Client implementation that operates in the context of a session. |
Modifier and Type | Method and Description |
---|---|
Client |
Cluster.connect()
Creates a
Client.ClusteredClient instance to this Cluster , meaning requests will be routed to
one or more servers (depending on the cluster configuration), where each request represents the entirety of a
transaction. |
Client |
Cluster.connect(String sessionId)
Creates a
Client.SessionedClient instance to this Cluster , meaning requests will be routed to
a single server (randomly selected from the cluster), where the same bindings will be available on each request. |
Client |
Client.init() |
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.