Class AccumulatorRegistry


  • public class AccumulatorRegistry
    extends Object
    Main accumulator registry which encapsulates user-defined accumulators.
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
      • jobID

        protected final JobID jobID
    • Method Detail

      • getSnapshot

        public AccumulatorSnapshot getSnapshot()
        Creates a snapshot of this accumulator registry.
        Returns:
        a serialized accumulator map
      • getUserMap

        public Map<String,​Accumulator<?,​?>> getUserMap()
        Gets the map for user-defined accumulators.