[
https://issues.apache.org/jira/browse/IGNITE-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Chugunov updated IGNITE-13743:
-------------------------------------
Fix Version/s: 2.10
> Defragmentation JMX API for schedule/cancel/status
> --------------------------------------------------
>
> Key: IGNITE-13743
> URL: https://issues.apache.org/jira/browse/IGNITE-13743
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Ivan Bessonov
> Assignee: Semyon Danilov
> Priority: Major
> Labels: IEP-47
> Fix For: 2.10
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> API for JMX bean as follows:
> *DefragmentationMXBean {*
> ** /** \{@code true} if possible to schedule given caches or false
> otherwise. */
> *boolean schedule(String... cacheName);*
>
> /** cancel the current defragmentation. */
> *boolean cancel();*
>
> /** Quantity of processed partitions. */
> *int* *processedPartitions**();*
>
> ** /** Total partitions for defragmentation */
> *int* *totalPartitions**();*
>
> /** Defragmentation start timestamp */
> *long startTime();*
>
> /** \{@code true} if defragmentation is in progress right now. */
> *boolean inProgress();*
> *}*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)