public class AccumulatorSnapshot extends Object implements Serializable
| Constructor and Description |
|---|
AccumulatorSnapshot(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> userAccumulators) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> |
deserializeUserAccumulators(ClassLoader classLoader)
Gets the user-defined accumulators values.
|
ExecutionAttemptID |
getExecutionAttemptID() |
org.apache.flink.api.common.JobID |
getJobID() |
public AccumulatorSnapshot(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> userAccumulators)
throws IOException
IOExceptionpublic org.apache.flink.api.common.JobID getJobID()
public ExecutionAttemptID getExecutionAttemptID()
public Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> deserializeUserAccumulators(ClassLoader classLoader) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.