public class TaskExecutorLocalStateStoresManager extends Object
TaskLocalStateStoreImpl objects for a task executor (manager).| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOCATION_DIR_PREFIX |
| Constructor and Description |
|---|
TaskExecutorLocalStateStoresManager(boolean localRecoveryEnabled,
org.apache.flink.util.Reference<File[]> localStateRootDirectories,
Executor discardExecutor) |
| Modifier and Type | Method and Description |
|---|---|
TaskLocalStateStore |
localStateStoreForSubtask(org.apache.flink.api.common.JobID jobId,
AllocationID allocationID,
JobVertexID jobVertexID,
int subtaskIndex,
org.apache.flink.configuration.Configuration clusterConfiguration,
org.apache.flink.configuration.Configuration jobConfiguration) |
void |
releaseLocalStateForAllocationId(AllocationID allocationID) |
void |
retainLocalStateForAllocations(Set<AllocationID> allocationsToRetain)
Retains the given set of allocations.
|
void |
shutdown() |
public static final String ALLOCATION_DIR_PREFIX
public TaskExecutorLocalStateStoresManager(boolean localRecoveryEnabled,
@Nonnull
org.apache.flink.util.Reference<File[]> localStateRootDirectories,
@Nonnull
Executor discardExecutor)
throws IOException
IOException@Nonnull public TaskLocalStateStore localStateStoreForSubtask(@Nonnull org.apache.flink.api.common.JobID jobId, @Nonnull AllocationID allocationID, @Nonnull JobVertexID jobVertexID, @Nonnegative int subtaskIndex, org.apache.flink.configuration.Configuration clusterConfiguration, org.apache.flink.configuration.Configuration jobConfiguration)
public void releaseLocalStateForAllocationId(@Nonnull AllocationID allocationID)
public void retainLocalStateForAllocations(Set<AllocationID> allocationsToRetain)
allocationsToRetain - public void shutdown()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.