Top Fields Constructors Methods
io.vertx.core.spi.cluster.impl.selector

pack-priv Class SimpleRoundRobinSelector

extends Object
implements RoundRobinSelector
Class Inheritance
All Implemented Interfaces
io.vertx.core.spi.cluster.impl.selector.RoundRobinSelector
Imports
java.util.Collections, .List

Author
Thomas Segismont

Field Summary

Modifier and TypeField and Description
private final Index
private final List<String>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Iterable<String>
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private final Index index
nodeIdsback to summary
private final List<String> nodeIds

Constructor Detail

SimpleRoundRobinSelectorback to summary
pack-priv SimpleRoundRobinSelector(List<String> nodeIds)

Method Detail

selectForPublishback to summary
public Iterable<String> selectForPublish()

Implements io.vertx.core.spi.cluster.impl.selector.RoundRobinSelector.selectForPublish.

Annotations
@Override
selectForSendback to summary
public String selectForSend()

Implements io.vertx.core.spi.cluster.impl.selector.RoundRobinSelector.selectForSend.

Annotations
@Override