Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jini.rio.associations.strategy
Class RoundRobin<T>

    java.lang.Object
      org.jini.rio.associations.strategy.AbstractServiceSelectionStrategy<T>
          org.jini.rio.associations.strategy.RoundRobin<T>

All Implemented Interfaces:
  ServiceSelectionStrategy<T>, AssociationListener<T>

    public class RoundRobin<T>

extends AbstractServiceSelectionStrategy<T>

Alternates selection of services from the `Association`, alternating the selection of associated services using a round-robin approach

Field Summary

Fields inherited from class org.jini.rio.associations.strategy.AbstractServiceSelectionStrategy
`association`

Constructor Summary
`RoundRobin()`

Method Summary
`T` | `getService()` Select a service for invocation

Methods inherited from class org.jini.rio.associations.strategy.AbstractServiceSelectionStrategy
`broken, changed, discovered, getAssociation, setAssociation, terminate`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RoundRobin

    public RoundRobin()

Method Detail

### getService

    public T getService()

  Description copied from interface: `ServiceSelectionStrategy`
  Select a service for invocation

  Specified by:
    `getService` in interface `ServiceSelectionStrategy<T>`
  Specified by:
    `getService` in class `AbstractServiceSelectionStrategy<T>`
  Returns:
    The proxy for a service

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Project Rio.