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() |
static Cluster |
Cluster.open()
Create a
Cluster with all default settings which will connect to one contact point at localhost . |
static Cluster |
Cluster.open(String configurationFile)
Create a
Cluster using a YAML-based configuration file. |
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancingStrategy.initialize(Cluster cluster,
Collection<Host> hosts)
Initialize the strategy with the
Cluster instance and the expected host list. |
void |
LoadBalancingStrategy.RoundRobin.initialize(Cluster cluster,
Collection<Host> hosts) |
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.