This is an automated email from the ASF dual-hosted git repository.

sk0x50 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c5a39e  IGNITE-12928 Added description for rebalancing metrics.
8c5a39e is described below

commit 8c5a39e27a7ea14d2ab20ed331f7a60e0e01c830
Author: Makedonskaya <[email protected]>
AuthorDate: Wed May 6 11:51:46 2020 +0300

    IGNITE-12928 Added description for rebalancing metrics.
    
    Signed-off-by: Slava Koptilin <[email protected]>
---
 .../apache/ignite/mxbean/CacheMetricsMXBean.java   | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git 
a/modules/core/src/main/java/org/apache/ignite/mxbean/CacheMetricsMXBean.java 
b/modules/core/src/main/java/org/apache/ignite/mxbean/CacheMetricsMXBean.java
index f55303a..fc3cacb 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/mxbean/CacheMetricsMXBean.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/mxbean/CacheMetricsMXBean.java
@@ -276,6 +276,34 @@ public interface CacheMetricsMXBean extends 
CacheStatisticsMXBean, CacheMXBean,
     public boolean isStoreByValue();
 
     /** {@inheritDoc} */
+    @Override @MXBeanDescription("Estimated number of keys to be rebalanced on 
current node.")
+    public long getKeysToRebalanceLeft();
+
+    /** {@inheritDoc} */
+    @Override @MXBeanDescription("Estimated rebalancing speed in bytes.")
+    public long getRebalancingBytesRate();
+
+    /** {@inheritDoc} */
+    @Override @MXBeanDescription("Estimated rebalancing speed in keys.")
+    public long getRebalancingKeysRate();
+
+    /** {@inheritDoc} */
+    @Override @MXBeanDescription("Number of currently rebalancing partitions 
on current node.")
+    public int getRebalancingPartitionsCount();
+
+    /** {@inheritDoc} */
+    @Override @MXBeanDescription("Rebalancing start time.")
+    public long getRebalancingStartTime();
+
+    /** {@inheritDoc} */
+    @Override @MXBeanDescription("Total number of partitions on current node.")
+    public int getTotalPartitionsCount();
+
+    /** {@inheritDoc} */
+    @Override @MXBeanDescription("Estimated rebalancing finish time.")
+    public long getEstimatedRebalancingFinishTime();
+
+    /** {@inheritDoc} */
     @Override @MXBeanDescription("True if statistics collection is enabled.")
     public boolean isStatisticsEnabled();
 

Reply via email to