public class NonBlockingRoundRobinStrategy extends Object implements IDistributorStrategy
Constructor and Description |
---|
NonBlockingRoundRobinStrategy() |
Modifier and Type | Method and Description |
---|---|
<T> OutputPort<T> |
distribute(List<OutputPort<?>> outputPorts,
T element) |
int |
getNumWaits() |
void |
onPortRemoved(OutputPort<?> removedOutputPort) |
public <T> OutputPort<T> distribute(List<OutputPort<?>> outputPorts, T element)
distribute
in interface IDistributorStrategy
public int getNumWaits()
public void onPortRemoved(OutputPort<?> removedOutputPort)
onPortRemoved
in interface PortRemovedListener<OutputPort<?>>
Copyright © 2015–2020. All rights reserved.