|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoadBalancingPolicy
Default interface for all load balancing policies.
| Method Summary | |
|---|---|
HClientPool |
createConnection(HClientFactory clientFactory,
CassandraHost host,
CassandraClientMonitor monitor)
Creates a connection pool for host. |
HClientPool |
getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts)
Retrieves a pool from the collection of pools excluding excludeHosts. |
| Method Detail |
|---|
HClientPool getPool(Collection<HClientPool> pools,
Set<CassandraHost> excludeHosts)
pools excluding excludeHosts.
pools - collection of all available poolsexcludeHosts - excluded pools
HClientPool createConnection(HClientFactory clientFactory,
CassandraHost host,
CassandraClientMonitor monitor)
host.
clientFactory - an instance of HClientFactoryhost - an instance of CassandraHost representing the host this pool will representmonitor - the monitor exposing JMX methods
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||