| Package | Description |
|---|---|
| me.prettyprint.cassandra.connection |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentHClientPool |
class |
LatencyAwareHClientPool
This class provides a queue function of latencies over CHCP, collecting all the latency information and calculates
the score (expensive operation).
|
| Modifier and Type | Method and Description |
|---|---|
HClientPool |
RoundRobinBalancingPolicy.createConnection(HClientFactory clientFactory,
CassandraHost host,
CassandraClientMonitor monitor) |
HClientPool |
LoadBalancingPolicy.createConnection(HClientFactory clientFactory,
CassandraHost host,
CassandraClientMonitor monitor)
Creates a connection pool for
host. |
HClientPool |
LeastActiveBalancingPolicy.createConnection(HClientFactory clientFactory,
CassandraHost host,
CassandraClientMonitor monitor) |
HClientPool |
DynamicLoadBalancingPolicy.createConnection(HClientFactory clientFactory,
CassandraHost host,
CassandraClientMonitor monitor) |
HClientPool |
RoundRobinBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts) |
HClientPool |
LoadBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts)
Retrieves a pool from the collection of
pools excluding excludeHosts. |
HClientPool |
LeastActiveBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts) |
HClientPool |
DynamicLoadBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HClientPool> |
HConnectionManager.getActivePools() |
| Modifier and Type | Method and Description |
|---|---|
HClientPool |
RoundRobinBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts) |
HClientPool |
LoadBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts)
Retrieves a pool from the collection of
pools excluding excludeHosts. |
HClientPool |
LeastActiveBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts) |
HClientPool |
DynamicLoadBalancingPolicy.getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts) |
Copyright © 2014. All Rights Reserved.