Class Broker<V>
- java.lang.Object
-
- org.apache.flink.runtime.iterative.concurrent.Broker<V>
-
- Direct Known Subclasses:
BlockingBackChannelBroker
,BlockingQueueBroker
,IterationAggregatorBroker
,SolutionSetBroker
,SolutionSetUpdateBarrierBroker
,SuperstepKickoffLatchBroker
public class Broker<V> extends Object
A concurrent data structure that allows the hand-over of an object between a pair of threads.
-
-
Constructor Summary
Constructors Constructor Description Broker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get(String key)
Blocking retrieval and removal of the object to share.V
getAndRemove(String key)
Blocking retrieval and removal of the object to share.void
handIn(String key, V obj)
Hand in the object to share.void
remove(String key)
Blocking retrieval and removal of the object to share.
-