Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | List of all members
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 >:
Inheritance graph
[legend]

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.

Author
Dmitry Kotlyarov
Details:

Creates an iterator over one pair of query and endpoint

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

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