All Classes Namespaces Files Functions Variables Enumerator Groups Pages
com.griddynamics.jagger.invoker.SimpleLoadBalancer< Q, E > Class Reference

Contains only one query and endpoint. More...

Inheritance diagram for com.griddynamics.jagger.invoker.SimpleLoadBalancer< Q, E >:

Public Member Functions

int endpointSize ()
 Returns number of endpoints. More...
Iterator< Pair< Q, E > > iterator ()
Iterator< Pair< Q, E > > provide ()
 Always returns an exact pair of endpoint and query. More...
int querySize ()
 Returns number of queries. More...
 SimpleLoadBalancer (Q query, E endpoint)

Detailed Description

Contains only one query and endpoint.

Dmitry Kotlyarov

Creates an iterator over one pair of query and endpoint

<Q>- Query type
<E>- Endpoint type

Definition at line 37 of file SimpleLoadBalancer.java.

The documentation for this class was generated from the following file: