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
Cluster that spawned this Client . |
static Cluster |
Cluster.open()
Create a
Cluster with all default settings which will connect to one contact point at localhost . |
static Cluster |
Cluster.open(org.apache.commons.configuration2.Configuration conf)
Create a
Cluster from Apache Configurations. |
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–2023 Apache Software Foundation. All rights reserved.