Package org.apache.flink.runtime.state
Class TaskExecutorChannelStateExecutorFactoryManager
- java.lang.Object
-
- org.apache.flink.runtime.state.TaskExecutorChannelStateExecutorFactoryManager
-
@ThreadSafe public class TaskExecutorChannelStateExecutorFactoryManager extends Object
This class holds the allChannelStateWriteRequestExecutorFactory
objects for a task executor (manager).
-
-
Constructor Summary
Constructors Constructor Description TaskExecutorChannelStateExecutorFactoryManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelStateWriteRequestExecutorFactory
getFactoryByJobId(JobID jobId)
ChannelStateWriteRequestExecutorFactory
getOrCreateExecutorFactory(JobID jobID)
void
releaseResourcesForJob(JobID jobID)
void
shutdown()
-
-
-
Method Detail
-
getOrCreateExecutorFactory
public ChannelStateWriteRequestExecutorFactory getOrCreateExecutorFactory(@Nonnull JobID jobID)
-
releaseResourcesForJob
public void releaseResourcesForJob(@Nonnull JobID jobID)
-
shutdown
public void shutdown()
-
getFactoryByJobId
@VisibleForTesting @Nullable public ChannelStateWriteRequestExecutorFactory getFactoryByJobId(JobID jobId)
-
-