|
Infinispan HotRod C++ Client
7.3.5.CR1
|
#include <FailOverRequestBalancingStrategy.h>
Public Types | |
| typedef FailOverRequestBalancingStrategy *(* | ProducerFn) () |
Public Member Functions | |
| virtual void | setServers (const std::vector< transport::InetSocketAddress > &servers)=0 |
| virtual const transport::InetSocketAddress & | nextServer (const std::set< transport::InetSocketAddress > &failedServers)=0 |
| virtual | ~FailOverRequestBalancingStrategy () |
Abstract class for a balancing strategy on failover. An implementation of this class must define a policy for the selection of the target server for a specific request.
| typedef FailOverRequestBalancingStrategy*(* infinispan::hotrod::FailOverRequestBalancingStrategy::ProducerFn) () |
Signature spec for function that produce object of this class
|
inlinevirtual |
|
pure virtual |
| failedServers | the list of the server with failure |
|
pure virtual |
Set the the list of the available servers
| servers | the servers list |
1.8.11