Class BroadcastVariableManager


  • public class BroadcastVariableManager
    extends Object
    The BroadcastVariableManager is used to manage the materialization of broadcast variables. References to materialized broadcast variables are cached and shared between parallel subtasks. A reference count is maintained to track whether the materialization may be cleaned up.
    • Constructor Detail

      • BroadcastVariableManager

        public BroadcastVariableManager()
    • Method Detail

      • releaseReference

        public void releaseReference​(String name,
                                     int superstep,
                                     BatchTask<?,​?> referenceHolder)
      • releaseAllReferencesFromTask

        public void releaseAllReferencesFromTask​(BatchTask<?,​?> referenceHolder)
      • getNumberOfVariablesWithReferences

        public int getNumberOfVariablesWithReferences()