Interface SystemMaintenanceTaskQueue

All Known Implementing Classes:
JournalSystemMaintenanceTaskQueue

public interface SystemMaintenanceTaskQueue
A queue containing SystemMaintenanceTasks. Each task represents an operation to be performed on this node.
Since:
7.3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a new task to this queue.
    void
    Apply the given action to contents of the queue.
  • Method Details

    • enqueue

      void enqueue(SystemMaintenanceTask task)
      Add a new task to this queue.
    • processEntries

      void processEntries()
      Apply the given action to contents of the queue. If the action throws a MaintenanceTaskExecutionException when processing an element, processing will be stopped immediately and the next call to processEntries will start from the failing element. If any other exception type is thrown, the failed element will be skipped, and processing will continue.