public class MaintenanceFileStore extends Object
MaintenanceTask
s 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 inMemoryMode,
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 inMemoryMode, PdsFoldersResolver pdsFoldersResolver, FileIOFactory ioFactory, IgniteLogger log)
public void init() throws IgniteCheckedException, IOException
IgniteCheckedException
IOException
public void clear()
public void stop() throws IOException
IOException
public Map<String,MaintenanceTask> getAllTasks()
public void writeMaintenanceTask(MaintenanceTask task) throws IOException
IOException
public void deleteMaintenanceTask(String taskName) throws IOException
IOException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021