public class AccumulatorRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.api.common.JobID |
jobID |
protected static org.slf4j.Logger |
LOG |
protected ExecutionAttemptID |
taskID |
| Constructor and Description |
|---|
AccumulatorRegistry(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID taskID) |
| Modifier and Type | Method and Description |
|---|---|
AccumulatorSnapshot |
getSnapshot()
Creates a snapshot of this accumulator registry.
|
Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> |
getUserMap()
Gets the map for user-defined accumulators.
|
protected static final org.slf4j.Logger LOG
protected final org.apache.flink.api.common.JobID jobID
protected final ExecutionAttemptID taskID
public AccumulatorRegistry(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID taskID)
public AccumulatorSnapshot getSnapshot()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.