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 TypeMethodDescriptionvoidenqueue(SystemMaintenanceTask task) Add a new task to this queue.voidApply 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 aMaintenanceTaskExecutionExceptionwhen 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.
-