Class SnapshotDirectorPartitionStep

    • Constructor Detail

      • SnapshotDirectorPartitionStep

        public SnapshotDirectorPartitionStep()
    • Method Detail

      • open

        public ActorFuture<Void> open​(PartitionContext context)
        Description copied from interface: PartitionStep
        Performs some action required for the partition to function. This may include opening components (e.g., logstream), setting their values in PartitionContext, etc. The subsequent partition steps will only be opened after the returned future is completed.
        Specified by:
        open in interface PartitionStep
        Parameters:
        context - the partition context
        Returns:
        future
      • close

        public ActorFuture<Void> close​(PartitionContext context)
        Description copied from interface: PartitionStep
        Perform tear-down actions to clear the partition and prepare for another one to be installed. This includes closing components, clearing their values from PartitionContext so they may be garbage-collected, etc. The subsequent partition steps will only be closed after the returned future is completed.
        Specified by:
        close in interface PartitionStep
        Parameters:
        context - the partition context
        Returns:
        future
      • getName

        public String getName()
        Specified by:
        getName in interface PartitionStep
        Returns:
        A log-friendly identification of the PartitionStep.