public class IgniteDefragmentationImpl extends Object implements IgniteDefragmentation
IgniteDefragmentation.CancelResult, IgniteDefragmentation.CompletedDefragmentationInfo, IgniteDefragmentation.DefragmentationInfo, IgniteDefragmentation.DefragmentationStatus, IgniteDefragmentation.InProgressDefragmentationInfo, IgniteDefragmentation.ScheduleResult| Constructor and Description |
|---|
IgniteDefragmentationImpl(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
IgniteDefragmentation.CancelResult |
cancel()
Cancel scheduled or ongoing defragmentation.
|
boolean |
inProgress() |
int |
processedPartitions() |
IgniteDefragmentation.ScheduleResult |
schedule(List<String> cacheNames)
Schedule defragmentaton on next start of the node.
|
long |
startTime() |
IgniteDefragmentation.DefragmentationStatus |
status()
Get the status of the ongoing defragmentation.
|
int |
totalPartitions() |
public IgniteDefragmentationImpl(GridKernalContext ctx)
public IgniteDefragmentation.ScheduleResult schedule(List<String> cacheNames) throws IgniteCheckedException
schedule in interface IgniteDefragmentationcacheNames - Names of caches to run defragmentation on.IgniteCheckedException - If failed.public IgniteDefragmentation.CancelResult cancel() throws IgniteCheckedException
cancel in interface IgniteDefragmentationIgniteCheckedException - If failed.public IgniteDefragmentation.DefragmentationStatus status() throws IgniteCheckedException
status in interface IgniteDefragmentationIgniteCheckedException - If failed.public boolean inProgress()
inProgress in interface IgniteDefragmentationtrue if there is an ongoing defragmentation.public int processedPartitions()
processedPartitions in interface IgniteDefragmentationpublic int totalPartitions()
totalPartitions in interface IgniteDefragmentationpublic long startTime()
startTime in interface IgniteDefragmentation
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021