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

pack-priv Class WeightedRoundRobinSelector

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

Author
Thomas Segismont

Field Summary

Modifier and TypeField and Description
private final Index
private final TreeMap<Integer, Integer>
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
offsetsback to summary
private final TreeMap<Integer, Integer> offsets
uniqueIdsback to summary
private final List<String> uniqueIds

Constructor Detail

WeightedRoundRobinSelectorback to summary
pack-priv WeightedRoundRobinSelector(Map<String, Weight> weights)

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