| Package | Description | 
|---|---|
| org.apache.tinkerpop.gremlin.driver | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Cluster | Client. cluster | 
| protected Cluster | Channelizer.AbstractChannelizer. cluster | 
| Modifier and Type | Method and Description | 
|---|---|
| Cluster | Cluster.Builder. create() | 
| Cluster | Client. getCluster()Gets the  Clusterthat spawned thisClient. | 
| static Cluster | Cluster. open()Create a  Clusterwith all default settings which will connect to one contact point atlocalhost. | 
| static Cluster | Cluster. open(org.apache.commons.configuration.Configuration conf)Create a  Clusterfrom Apache Configurations. | 
| static Cluster | Cluster. open(String configurationFile)Create a  Clusterusing a YAML-based configuration file. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | LoadBalancingStrategy. initialize(Cluster cluster,
          Collection<Host> hosts)Initialize the strategy with the  Clusterinstance and the expected host list. | 
| void | LoadBalancingStrategy.RoundRobin. initialize(Cluster cluster,
          Collection<Host> hosts) | 
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.