public class CacheGroupMetricsMXBeanImpl extends Object implements CacheGroupMetricsMXBean
CacheGroupContext.| Modifier and Type | Class and Description |
|---|---|
static class |
CacheGroupMetricsMXBeanImpl.GroupAllocationTracker |
| Constructor and Description |
|---|
CacheGroupMetricsMXBeanImpl(CacheGroupContext ctx)
Creates Group metrics 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.
|
long |
getLocalNodeRentingEntriesCount()
Gets count of entries remains to evict in RENTING partitions located on this node for this cache group.
|
int |
getLocalNodeRentingPartitionsCount()
Gets count of partitions with state RENTING 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.
|
List<Integer> |
getPartitionIds()
Local partition ids.
|
int |
getPartitions()
Gets count of partitions for this cache group.
|
long |
getTotalAllocatedPages()
Cache group total allocated pages.
|
long |
getTotalAllocatedSize()
Total size of memory allocated for group, in bytes.
|
String |
getType()
Cache group type.
|
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 getLocalNodeRentingPartitionsCount()
getLocalNodeRentingPartitionsCount in interface CacheGroupMetricsMXBeanpublic long getLocalNodeRentingEntriesCount()
getLocalNodeRentingEntriesCount 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 CacheGroupMetricsMXBeanpublic String getType()
getType in interface CacheGroupMetricsMXBeanpublic List<Integer> getPartitionIds()
getPartitionIds in interface CacheGroupMetricsMXBeanpublic long getTotalAllocatedPages()
getTotalAllocatedPages in interface CacheGroupMetricsMXBeanpublic long getTotalAllocatedSize()
getTotalAllocatedSize in interface CacheGroupMetricsMXBean
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019