Class TaskExecutorLocalStateStoresManager


  • public class TaskExecutorLocalStateStoresManager
    extends Object
    This class holds the all TaskLocalStateStoreImpl objects for a task executor (manager).
    • Constructor Detail

      • TaskExecutorLocalStateStoresManager

        public TaskExecutorLocalStateStoresManager​(boolean localRecoveryEnabled,
                                                   boolean localBackupEnabled,
                                                   @Nonnull
                                                   Reference<File[]> localStateRootDirectories,
                                                   @Nonnull
                                                   Executor discardExecutor)
                                            throws IOException
        Throws:
        IOException
    • Method Detail

      • releaseLocalStateForAllocationId

        public void releaseLocalStateForAllocationId​(@Nonnull
                                                     AllocationID allocationID)
      • retainLocalStateForAllocations

        public void retainLocalStateForAllocations​(Set<AllocationID> allocationsToRetain)
        Retains the given set of allocations. All other allocations will be released.
        Parameters:
        allocationsToRetain -
      • shutdown

        public void shutdown()