Package | Description |
---|---|
com.tangosol.net |
Contains basic cluster interfaces and factories.
|
Modifier and Type | Field and Description |
---|---|
protected LoadBalancer.AddressPort[] |
LoadBalancer.m_aAddrPortDest
The AddressPort combinations that the load balancer will balance to.
|
protected LoadBalancer.AddressPort |
LoadBalancer.m_addrportHost
The AddressPort combination that the load balancer will listen on.
|
Modifier and Type | Method and Description |
---|---|
LoadBalancer.AddressPort |
LoadBalancer.getDestination(int i)
Determine one of the AddressPort combinations that the load balancer
balances requests to.
|
LoadBalancer.AddressPort |
LoadBalancer.getHost()
Determine the AddressPort that the load balancer listens on.
|
protected LoadBalancer.AddressPort |
LoadBalancer.getNextDestination()
Determine the next AddressPort combination to route to.
|
protected LoadBalancer.AddressPort |
LoadBalancer.getRandomDestination()
Determine a random AddressPort combination to route to.
|
protected LoadBalancer.AddressPort |
LoadBalancer.getRoundRobinDestination()
Using a round-robin algorithm, determine the next AddressPort
combination to route to.
|
Constructor and Description |
---|
LoadBalancer(LoadBalancer.AddressPort addrportHost,
LoadBalancer.AddressPort[] aAddrPortDest,
Properties propOptions)
Instantiate a LoadBalancer object that will listen on a host
address/port and redirect requests to destination addresses/ports.
|
LoadBalancer(LoadBalancer.AddressPort addrportHost,
LoadBalancer.AddressPort[] aAddrPortDest,
Properties propOptions)
Instantiate a LoadBalancer object that will listen on a host
address/port and redirect requests to destination addresses/ports.
|