Jagger
|
An object which provides pairs of queries and endpoints for Invoker. More...
Public Member Functions | |
int | endpointSize () |
Returns number of endpoints. More... | |
Iterator< Pair< Q, E > > | provide () |
Returns an iterator over pairs. More... | |
int | querySize () |
Returns number of queries. More... | |
An object which provides pairs of queries and endpoints for Invoker.
LoadBalancer (distributor) can use query and endpoint providers to load data and create pairs by some algorithm.
(if you choose QueryPoolLoadBalancer<Q,E> as an abstract implementation).
You can use no providers and load all necessary data in your implementation of LoadBalancer.
To view all distributors implementations click here Load balancers (Distributors)
<Q> | - Query type |
<E> | - Endpoint type |
Definition at line 42 of file LoadBalancer.java.