public class TaskExecutorLocalStateStoresManager extends Object
TaskLocalStateStoreImpl
objects for a task executor (manager).Constructor and Description |
---|
TaskExecutorLocalStateStoresManager(boolean localRecoveryEnabled,
File[] localStateRootDirectories,
Executor discardExecutor) |
Modifier and Type | Method and Description |
---|---|
TaskLocalStateStore |
localStateStoreForSubtask(JobID jobId,
AllocationID allocationID,
JobVertexID jobVertexID,
int subtaskIndex) |
void |
releaseLocalStateForAllocationId(AllocationID allocationID) |
void |
shutdown() |
public TaskExecutorLocalStateStoresManager(boolean localRecoveryEnabled, @Nonnull File[] localStateRootDirectories, @Nonnull Executor discardExecutor) throws IOException
IOException
@Nonnull public TaskLocalStateStore localStateStoreForSubtask(@Nonnull JobID jobId, @Nonnull AllocationID allocationID, @Nonnull JobVertexID jobVertexID, @Nonnegative int subtaskIndex)
public void releaseLocalStateForAllocationId(@Nonnull AllocationID allocationID)
public void shutdown()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.