public interface RegionMXBean
Region
.
For all the latency related attributes e.g. PutRemoteLatency ,DiskWritesAverageLatency etc..
"enable-time-statistics" should be set to true.Modifier and Type | Method and Description |
---|---|
int |
getActualRedundancy()
Returns the actual number of redundant copies available for buckets in this partitioned region.
|
float |
getAverageReads()
Returns the average number of read requests per second.
|
float |
getAverageWrites()
Returns the average number of write requests per second.
|
int |
getAvgBucketSize()
Deprecated.
This attribute is removed from 8.0 for being incorrect and impacting performance.
|
int |
getBucketCount()
Returns the number of buckets on this member.
|
long |
getCacheListenerCallsAvgLatency()
Returns the average latency of a call to a
CacheListener in nanoseconds. |
long |
getCacheWriterCallsAvgLatency()
Returns the average latency of a call to a
CacheWriter in nanoseconds. |
int |
getConfiguredRedundancy()
Returns the number of redundant copies configured for this partitioned region.
|
float |
getCreatesRate()
Returns the number of creates per second.
|
float |
getDestroyRate()
Returns the number of destroys per second.
|
long |
getDiskReadsAverageLatency()
Deprecated.
See corresponding DiskStores latency to get the latency.
|
float |
getDiskReadsRate()
Returns the number of entries reads per second from disk.
|
long |
getDiskTaskWaiting()
Deprecated.
|
long |
getDiskUsage()
Returns the total number of bytes stored in disk for this region.
|
long |
getDiskWritesAverageLatency()
Deprecated.
See corresponding DiskStores latency to get the latency.
|
float |
getDiskWritesRate()
Returns the number of entries written per second to disk.
|
long |
getEntryCount()
Returns the number of entries in the Region within this member.
|
long |
getEntrySize()
Returns the aggregate entry size (in bytes) of all entries.
|
String |
getFullPath()
Returns the full path of the Region.
|
float |
getGetsRate()
Returns the number of gets per second.
|
long |
getHitCount()
Returns the number of times that a hit occurred.
|
float |
getHitRatio()
Returns the hit to miss ratio.
|
long |
getLastAccessedTime()
Returns the time of the most recent access.
|
long |
getLastModifiedTime()
Returns the time of the most recent modification.
|
int |
getLocalMaxMemory()
Returns the maximum amount of local memory that can be used by the region.
|
float |
getLruDestroyRate()
Returns the rate of entries destroyed either by destroy cache operations or eviction.
|
float |
getLruEvictionRate()
Returns the entry eviction rate as triggered by the LRU policy.
|
String |
getMember()
Returns the name/ID of the member hosting this Region.
|
long |
getMissCount()
Returns the number of times that a cache miss occurred.
|
String |
getName()
Returns the name of the Region.
|
int |
getNumBucketsWithoutRedundancy()
Returns the number of buckets without full redundancy.
|
String |
getParentRegion()
The name of the parent Region or
null if the Region has no parent. |
int |
getPrimaryBucketCount()
Returns the number of primary buckets on this member.
|
float |
getPutAllRate()
Returns the number of putAlls per second.
|
float |
getPutLocalRate()
Returns the number of local puts per second.
|
long |
getPutRemoteAvgLatency()
Returns the average latency for remote puts in nanoseconds.
|
long |
getPutRemoteLatency()
Returns the latency for the most recent remote put in nanoseconds.
|
float |
getPutRemoteRate()
Returns the number of remote puts per second.
|
float |
getPutsRate()
Returns the number of puts per second.
|
String |
getRegionType()
Returns the type (data policy) of the Region.
|
int |
getTotalBucketSize()
Returns the total number of entries in all buckets.
|
long |
getTotalDiskEntriesInVM()
Returns the current number of entries held in memory.
|
long |
getTotalDiskWritesProgress()
Returns the current number of disk writes in progress.
|
long |
getTotalEntriesOnlyOnDisk()
Returns the current number of entries whose values are only on disk (not in memory).
|
boolean |
isGatewayEnabled()
Returns whether this region sends data using a GatewaySender.
|
boolean |
isPersistentEnabled()
Returns whether persistence is enabled.
|
EvictionAttributesData |
listEvictionAttributes()
Returns the eviction attributes of the Region.
|
FixedPartitionAttributesData[] |
listFixedPartitionAttributes()
Returns the fixed partition attributes of the Region.
|
MembershipAttributesData |
listMembershipAttributes()
Deprecated.
this API is scheduled to be removed
|
PartitionAttributesData |
listPartitionAttributes()
Returns the partition attributes of the Region.
|
RegionAttributesData |
listRegionAttributes()
Returns the attributes of the Region.
|
String[] |
listSubregionPaths(boolean recursive)
Returns a list of the names of the sub regions.
|
String getName()
String getRegionType()
String getFullPath()
String getParentRegion()
null
if the Region has no parent.null
if the Region has no parentString[] listSubregionPaths(boolean recursive)
recursive
- True
to recursively traverse and find sub-regions.RegionAttributesData listRegionAttributes()
PartitionAttributesData listPartitionAttributes()
FixedPartitionAttributesData[] listFixedPartitionAttributes()
EvictionAttributesData listEvictionAttributes()
@Deprecated MembershipAttributesData listMembershipAttributes()
long getLastModifiedTime()
long getLastAccessedTime()
long getMissCount()
long getHitCount()
float getHitRatio()
long getEntryCount()
float getGetsRate()
float getPutsRate()
float getCreatesRate()
float getDestroyRate()
float getPutAllRate()
float getPutLocalRate()
float getPutRemoteRate()
long getPutRemoteLatency()
long getPutRemoteAvgLatency()
long getTotalEntriesOnlyOnDisk()
long getTotalDiskEntriesInVM()
float getDiskReadsRate()
@Deprecated long getDiskReadsAverageLatency()
@Deprecated long getDiskWritesAverageLatency()
float getDiskWritesRate()
long getTotalDiskWritesProgress()
@Deprecated long getDiskTaskWaiting()
long getCacheWriterCallsAvgLatency()
CacheWriter
in nanoseconds.CacheWriter
in nanosecondslong getCacheListenerCallsAvgLatency()
CacheListener
in nanoseconds.CacheListener
in nanosecondsfloat getLruEvictionRate()
float getLruDestroyRate()
int getBucketCount()
int getPrimaryBucketCount()
int getNumBucketsWithoutRedundancy()
int getConfiguredRedundancy()
int getActualRedundancy()
int getTotalBucketSize()
@Deprecated int getAvgBucketSize()
long getDiskUsage()
long getEntrySize()
EvictionAlgorithm.LRU_MEMORY
.
All partitioned regions can report entry size, but the value also includes
redundant entries and also counts the size of all the secondary entries in
the node.boolean isGatewayEnabled()
float getAverageReads()
float getAverageWrites()
boolean isPersistentEnabled()
String getMember()
int getLocalMaxMemory()