public class MaintenanceFileStore extends Object
MaintenanceTasks and hides implementation details from higher levels.
Human-readable storage format is rigid but simple.
String on a separate line.
| Modifier and Type | Field and Description |
|---|---|
static String |
MAINTENANCE_FILE_NAME |
| Constructor and Description |
|---|
MaintenanceFileStore(boolean disabled,
PdsFoldersResolver pdsFoldersResolver,
FileIOFactory ioFactory,
IgniteLogger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deletes file with maintenance tasks.
|
void |
deleteMaintenanceTask(String taskName) |
Map<String,MaintenanceTask> |
getAllTasks() |
void |
init() |
void |
stop()
Stops
|
void |
writeMaintenanceTask(MaintenanceTask task) |
public static final String MAINTENANCE_FILE_NAME
public MaintenanceFileStore(boolean disabled,
PdsFoldersResolver pdsFoldersResolver,
FileIOFactory ioFactory,
IgniteLogger log)
public void init()
throws IgniteCheckedException,
IOException
IgniteCheckedExceptionIOExceptionpublic void clear()
public void stop()
throws IOException
IOExceptionpublic Map<String,MaintenanceTask> getAllTasks()
public void writeMaintenanceTask(MaintenanceTask task) throws IOException
IOExceptionpublic void deleteMaintenanceTask(String taskName) throws IOException
IOException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023