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