Package org.apache.flink.runtime.state
Class TaskExecutorStateChangelogStoragesManager
- java.lang.Object
-
- org.apache.flink.runtime.state.TaskExecutorStateChangelogStoragesManager
-
@ThreadSafe public class TaskExecutorStateChangelogStoragesManager extends Object
This class holds the allStateChangelogStorage
objects for a task executor (manager).
-
-
Constructor Summary
Constructors Constructor Description TaskExecutorStateChangelogStoragesManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<StateChangelogStorage<?>>
getChangelogStoragesByJobId(JobID jobId)
void
releaseResourcesForJob(JobID jobID)
void
shutdown()
StateChangelogStorage<?>
stateChangelogStorageForJob(JobID jobId, Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig)
-
-
-
Method Detail
-
stateChangelogStorageForJob
@Nullable public StateChangelogStorage<?> stateChangelogStorageForJob(@Nonnull JobID jobId, Configuration configuration, TaskManagerJobMetricGroup metricGroup, LocalRecoveryConfig localRecoveryConfig) throws IOException
- Throws:
IOException
-
releaseResourcesForJob
public void releaseResourcesForJob(@Nonnull JobID jobID)
-
shutdown
public void shutdown()
-
getChangelogStoragesByJobId
@VisibleForTesting @Nullable public Optional<StateChangelogStorage<?>> getChangelogStoragesByJobId(JobID jobId)
-
-