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