@Internal public class SavepointEnvironment extends Object implements org.apache.flink.runtime.execution.Environment
Environment that provides the functionality required to run the
state-processor-api.| Modifier and Type | Class and Description |
|---|---|
static class |
SavepointEnvironment.Builder
SavepointEnvironment builder. |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeCheckpoint(long checkpointId,
org.apache.flink.runtime.checkpoint.CheckpointMetrics checkpointMetrics) |
void |
acknowledgeCheckpoint(long checkpointId,
org.apache.flink.runtime.checkpoint.CheckpointMetrics checkpointMetrics,
org.apache.flink.runtime.checkpoint.TaskStateSnapshot subtaskState) |
void |
declineCheckpoint(long checkpointId,
org.apache.flink.runtime.checkpoint.CheckpointException checkpointException) |
void |
failExternally(Throwable cause) |
org.apache.flink.runtime.accumulators.AccumulatorRegistry |
getAccumulatorRegistry() |
org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate[] |
getAllInputGates() |
org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter[] |
getAllWriters() |
org.apache.flink.runtime.broadcast.BroadcastVariableManager |
getBroadcastVariableManager() |
Map<String,Future<org.apache.flink.core.fs.Path>> |
getDistributedCacheEntries() |
org.apache.flink.api.common.ExecutionConfig |
getExecutionConfig() |
org.apache.flink.runtime.executiongraph.ExecutionAttemptID |
getExecutionId() |
org.apache.flink.runtime.externalresource.ExternalResourceInfoProvider |
getExternalResourceInfoProvider() |
org.apache.flink.runtime.taskexecutor.GlobalAggregateManager |
getGlobalAggregateManager() |
org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate |
getInputGate(int index) |
org.apache.flink.runtime.jobgraph.tasks.InputSplitProvider |
getInputSplitProvider() |
org.apache.flink.runtime.io.disk.iomanager.IOManager |
getIOManager() |
org.apache.flink.configuration.Configuration |
getJobConfiguration() |
org.apache.flink.api.common.JobID |
getJobID() |
org.apache.flink.runtime.jobgraph.JobVertexID |
getJobVertexId() |
org.apache.flink.runtime.memory.MemoryManager |
getMemoryManager() |
org.apache.flink.runtime.metrics.groups.TaskMetricGroup |
getMetricGroup() |
org.apache.flink.runtime.jobgraph.tasks.TaskOperatorEventGateway |
getOperatorCoordinatorEventGateway() |
org.apache.flink.configuration.Configuration |
getTaskConfiguration() |
org.apache.flink.runtime.io.network.TaskEventDispatcher |
getTaskEventDispatcher() |
org.apache.flink.api.common.TaskInfo |
getTaskInfo() |
org.apache.flink.runtime.query.TaskKvStateRegistry |
getTaskKvStateRegistry() |
org.apache.flink.runtime.taskmanager.TaskManagerRuntimeInfo |
getTaskManagerInfo() |
org.apache.flink.runtime.state.TaskStateManager |
getTaskStateManager() |
org.apache.flink.runtime.throughput.ThroughputCalculator |
getThroughputCalculator() |
org.apache.flink.util.UserCodeClassLoader |
getUserCodeClassLoader() |
org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter |
getWriter(int index) |
public org.apache.flink.api.common.ExecutionConfig getExecutionConfig()
getExecutionConfig in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.api.common.JobID getJobID()
getJobID in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.jobgraph.JobVertexID getJobVertexId()
getJobVertexId in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.executiongraph.ExecutionAttemptID getExecutionId()
getExecutionId in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.configuration.Configuration getTaskConfiguration()
getTaskConfiguration in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.taskmanager.TaskManagerRuntimeInfo getTaskManagerInfo()
getTaskManagerInfo in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.metrics.groups.TaskMetricGroup getMetricGroup()
getMetricGroup in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.configuration.Configuration getJobConfiguration()
getJobConfiguration in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.api.common.TaskInfo getTaskInfo()
getTaskInfo in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.jobgraph.tasks.InputSplitProvider getInputSplitProvider()
getInputSplitProvider in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.io.disk.iomanager.IOManager getIOManager()
getIOManager in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.memory.MemoryManager getMemoryManager()
getMemoryManager in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.util.UserCodeClassLoader getUserCodeClassLoader()
getUserCodeClassLoader in interface org.apache.flink.runtime.execution.Environmentpublic Map<String,Future<org.apache.flink.core.fs.Path>> getDistributedCacheEntries()
getDistributedCacheEntries in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.broadcast.BroadcastVariableManager getBroadcastVariableManager()
getBroadcastVariableManager in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.state.TaskStateManager getTaskStateManager()
getTaskStateManager in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.taskexecutor.GlobalAggregateManager getGlobalAggregateManager()
getGlobalAggregateManager in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.externalresource.ExternalResourceInfoProvider getExternalResourceInfoProvider()
getExternalResourceInfoProvider in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.accumulators.AccumulatorRegistry getAccumulatorRegistry()
getAccumulatorRegistry in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.query.TaskKvStateRegistry getTaskKvStateRegistry()
getTaskKvStateRegistry in interface org.apache.flink.runtime.execution.Environmentpublic void acknowledgeCheckpoint(long checkpointId,
org.apache.flink.runtime.checkpoint.CheckpointMetrics checkpointMetrics)
acknowledgeCheckpoint in interface org.apache.flink.runtime.execution.Environmentpublic void acknowledgeCheckpoint(long checkpointId,
org.apache.flink.runtime.checkpoint.CheckpointMetrics checkpointMetrics,
org.apache.flink.runtime.checkpoint.TaskStateSnapshot subtaskState)
acknowledgeCheckpoint in interface org.apache.flink.runtime.execution.Environmentpublic void declineCheckpoint(long checkpointId,
org.apache.flink.runtime.checkpoint.CheckpointException checkpointException)
declineCheckpoint in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.jobgraph.tasks.TaskOperatorEventGateway getOperatorCoordinatorEventGateway()
getOperatorCoordinatorEventGateway in interface org.apache.flink.runtime.execution.Environmentpublic void failExternally(Throwable cause)
failExternally in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter getWriter(int index)
getWriter in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter[] getAllWriters()
getAllWriters in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate getInputGate(int index)
getInputGate in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.io.network.partition.consumer.IndexedInputGate[] getAllInputGates()
getAllInputGates in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.io.network.TaskEventDispatcher getTaskEventDispatcher()
getTaskEventDispatcher in interface org.apache.flink.runtime.execution.Environmentpublic org.apache.flink.runtime.throughput.ThroughputCalculator getThroughputCalculator()
getThroughputCalculator in interface org.apache.flink.runtime.execution.EnvironmentCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.