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 Details

    • Broker

      public Broker()
  • Method Details

    • handIn

      public void handIn(String key, V obj)
      Hand in the object to share.
    • getAndRemove

      public V getAndRemove(String key)
      Blocking retrieval and removal of the object to share.
    • remove

      public void remove(String key)
      Blocking retrieval and removal of the object to share.
    • get

      public V get(String key)
      Blocking retrieval and removal of the object to share.