Package | Description |
---|---|
org.apache.tinkerpop.gremlin.driver |
Modifier and Type | Method and Description |
---|---|
Iterator<Host> |
LoadBalancingStrategy.select(org.apache.tinkerpop.gremlin.driver.message.RequestMessage msg)
Provide an ordered list of hosts to send the the given
RequestMessage to. |
Iterator<Host> |
LoadBalancingStrategy.RoundRobin.select(org.apache.tinkerpop.gremlin.driver.message.RequestMessage msg) |
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancingStrategy.RoundRobin.onAvailable(Host host) |
void |
Host.Listener.onAvailable(Host host) |
void |
LoadBalancingStrategy.RoundRobin.onNew(Host host) |
void |
Host.Listener.onNew(Host host) |
void |
LoadBalancingStrategy.RoundRobin.onRemove(Host host) |
void |
Host.Listener.onRemove(Host host) |
void |
LoadBalancingStrategy.RoundRobin.onUnavailable(Host host) |
void |
Host.Listener.onUnavailable(Host host) |
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–2016 Apache Software Foundation. All rights reserved.