Interface SystemMaintenanceTaskQueue
- All Known Implementing Classes:
JournalSystemMaintenanceTaskQueue
public interface SystemMaintenanceTaskQueue
A queue containing
SystemMaintenanceTask
s.
Each task represents an operation to be performed on this node.- Since:
- 7.3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enqueue
(SystemMaintenanceTask task) Add a new task to this queue.void
Apply the given action to contents of the queue.
-
Method Details
-
enqueue
Add a new task to this queue. -
processEntries
void processEntries()Apply the given action to contents of the queue. If the action throws aMaintenanceTaskExecutionException
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.
-