Class AccumulatorRegistry
java.lang.Object
org.apache.flink.runtime.accumulators.AccumulatorRegistry
Main accumulator registry which encapsulates user-defined accumulators.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.flink.api.common.JobIDprotected static final org.slf4j.Loggerprotected final ExecutionAttemptID -
Constructor Summary
ConstructorsConstructorDescriptionAccumulatorRegistry(org.apache.flink.api.common.JobID jobID, ExecutionAttemptID taskID) -
Method Summary
Modifier and TypeMethodDescriptionCreates a snapshot of this accumulator registry.Gets the map for user-defined accumulators.
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG -
jobID
protected final org.apache.flink.api.common.JobID jobID -
taskID
-
-
Constructor Details
-
AccumulatorRegistry
-
-
Method Details
-
getSnapshot
Creates a snapshot of this accumulator registry.- Returns:
- a serialized accumulator map
-
getUserMap
Gets the map for user-defined accumulators.
-