public class CacheGroupMetricsMXBeanImpl extends Object implements CacheGroupMetricsMXBean
CacheGroupContext.| Constructor and Description |
|---|
CacheGroupMetricsMXBeanImpl(CacheGroupContext ctx)
Creates MBean;
|
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,List<String>> |
getAffinityPartitionsAssignmentMap()
Gets affinity partitions assignment map.
|
int |
getBackups()
Gets count of backups configured for this cache group.
|
List<String> |
getCaches()
Gets list of cache names of this cache group.
|
int |
getClusterMovingPartitionsCount()
Gets count of partitions with state MOVING for this cache group in the entire cluster.
|
int |
getClusterOwningPartitionsCount()
Gets count of partitions with state OWNING for this cache group in the entire cluster.
|
int |
getGroupId()
Gets cache group id.
|
String |
getGroupName()
Gets cache group name.
|
int |
getLocalNodeMovingPartitionsCount()
Gets count of partitions with state MOVING for this cache group located on this node.
|
int |
getLocalNodeOwningPartitionsCount()
Gets count of partitions with state OWNING for this cache group located on this node.
|
int |
getMaximumNumberOfPartitionCopies()
Calculates maximum number of partitions copies for all partitions of this cache group.
|
int |
getMinimumNumberOfPartitionCopies()
Calculates minimum number of partitions copies for all partitions of this cache group.
|
Map<Integer,Set<String>> |
getMovingPartitionsAllocationMap()
Gets allocation map of partitions with state MOVING in the cluster.
|
Map<Integer,Set<String>> |
getOwningPartitionsAllocationMap()
Gets allocation map of partitions with state OWNING in the cluster.
|
int |
getPartitions()
Gets count of partitions for this cache group.
|
public CacheGroupMetricsMXBeanImpl(CacheGroupContext ctx)
ctx - Cache group context.public int getGroupId()
getGroupId in interface CacheGroupMetricsMXBeanpublic String getGroupName()
getGroupName in interface CacheGroupMetricsMXBeanpublic List<String> getCaches()
getCaches in interface CacheGroupMetricsMXBeanpublic int getBackups()
getBackups in interface CacheGroupMetricsMXBeanpublic int getPartitions()
getPartitions in interface CacheGroupMetricsMXBeanpublic int getMinimumNumberOfPartitionCopies()
getMinimumNumberOfPartitionCopies in interface CacheGroupMetricsMXBeanpublic int getMaximumNumberOfPartitionCopies()
getMaximumNumberOfPartitionCopies in interface CacheGroupMetricsMXBeanpublic int getLocalNodeOwningPartitionsCount()
getLocalNodeOwningPartitionsCount in interface CacheGroupMetricsMXBeanpublic int getLocalNodeMovingPartitionsCount()
getLocalNodeMovingPartitionsCount in interface CacheGroupMetricsMXBeanpublic int getClusterOwningPartitionsCount()
getClusterOwningPartitionsCount in interface CacheGroupMetricsMXBeanpublic int getClusterMovingPartitionsCount()
getClusterMovingPartitionsCount in interface CacheGroupMetricsMXBeanpublic Map<Integer,Set<String>> getOwningPartitionsAllocationMap()
getOwningPartitionsAllocationMap in interface CacheGroupMetricsMXBeanpublic Map<Integer,Set<String>> getMovingPartitionsAllocationMap()
getMovingPartitionsAllocationMap in interface CacheGroupMetricsMXBeanpublic Map<Integer,List<String>> getAffinityPartitionsAssignmentMap()
getAffinityPartitionsAssignmentMap in interface CacheGroupMetricsMXBean
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018