Class MaintenanceFileStore


  • public class MaintenanceFileStore
    extends Object
    Provides API for durable storage of MaintenanceTasks and hides implementation details from higher levels. Human-readable storage format is rigid but simple.
    1. Maintenance file with tasks is stored in work directory of node under persistent store root defined by consistentId of node.
    2. Each task is written to disk as a String on a separate line.
    3. Task consists of two or three parts: task UUID, task description and optional parameters.