|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DistributedSystemMXBean
MBean that provides access to information and management operations for a
DistributedSystem.
It also provides an API for navigating the other MBeans exposed by the
GemFire distributed system.
| Method Summary | |
|---|---|
DiskBackupStatus |
backupAllMembers(String targetDirPath)
Performs a backup on all members. |
void |
changeAlertLevel(String alertLevel)
Sets the minimum level for alerts to be delivered to listeners. |
ObjectName |
fetchCacheServerObjectName(String member,
int port)
Returns the object name for a CacheServerMXBean used to access
a cache server. |
ObjectName |
fetchDiskStoreObjectName(String member,
String diskStoreName)
Returns object name of a DiskStoreMXBean for a given name and member |
ObjectName |
fetchDistributedLockServiceObjectName(String lockServiceName)
Returns the object name for a DistributedLockServiceMXBean used to
access a distributed lock service. |
ObjectName |
fetchDistributedRegionObjectName(String regionPath)
Returns the object name for a DistributedRegionMXBean used to
access a distributed region. |
ObjectName |
fetchGatewayReceiverObjectName(String member)
Returns the object name for a GatewayReceiverMXBean used to access
a gateway receiver. |
ObjectName |
fetchGatewaySenderObjectName(String member,
String senderId)
Returns the object name for a GatewaySenderMXBean used to access
a gateway sender. |
ObjectName |
fetchLockServiceObjectName(String member,
String lockService)
Returns the object name for a LockServiceMXBean used to
access a lock service. |
GemFireProperties |
fetchMemberConfiguration(String member)
Returns the configuration information for a distributed member. |
ObjectName |
fetchMemberObjectName(String member)
Returns the object name for a MemberMXBean used to access
a distributed member.. |
long |
fetchMemberUpTime(String member)
Returns the total time (in seconds) since a distributed member was started. |
ObjectName |
fetchRegionObjectName(String member,
String regionPath)
Returns the object name for a RegionMXBean used to access
a region. |
ObjectName[] |
fetchRegionObjectNames(ObjectName memberMBeanName)
Returns a list of object names for the RegionMXBeans used to
access all regions on a distributed member. |
long |
getActiveCQCount()
Returns the number of active (currently executing) CQs for all cache servers. |
String |
getAlertLevel()
Returns the minimum level set for alerts to be delivered to listeners. |
float |
getAverageReads()
Returns the average number of reads per second for all members. |
float |
getAverageWrites()
Returns the average writes per second, including both put and putAll operations, for all members. |
long |
getDiskFlushAvgLatency()
Returns the average disk flush latency time. |
float |
getDiskReadsRate()
Returns the average number of disk reads per second across all distributed members. |
float |
getDiskWritesRate()
Returns the average number of disk writes per second across all distributed members. |
int |
getDistributedSystemId()
Returns the ID of thie DistributedSystem. |
long |
getGarbageCollectionCount()
Returns the number of garbage collection operations for all members. |
long |
getJVMPauses()
Returns the number JVM pauses (which may or may not include full garbage collection pauses) detected by GemFire. |
int |
getLocatorCount()
Returns the number of locators in the distributed system. |
ObjectName |
getManagerObjectName()
Returns the object name for a ManagerMXBean used to access the
management service running on this distributed member. |
int |
getMemberCount()
Returns the number of members in the distributed system. |
ObjectName |
getMemberObjectName()
Returns the object name for a MemberMXBean used to access
this distributed member. |
int |
getNumClients()
Returns the number of connected clients. |
int |
getNumInitialImagesInProgress()
Returns the number of initial images in progress. |
int |
getNumRunningFunctions()
Returns the number of map-reduce jobs currently running on all members in the distributed system. |
int |
getNumSubscriptions()
Returns the number of subscriptions for all members. |
float |
getQueryRequestRate()
Returns the average number of queries per second across all distributed members. |
long |
getRegisteredCQCount()
Returns the number of CQs registers on all members. |
int |
getSystemDiskStoreCount()
Returns the number of disks stores in the distributed system. |
int |
getTotalBackupInProgress()
Returns the number of backups currently in progress for all disk stores. |
long |
getTotalBytesOnDisk()
Returns the total number of bytes used on all disks. |
long |
getTotalDiskUsage()
Returns the number of megabytes used on all disks. |
long |
getTotalHeapSize()
Returns the total available heap (in megabytes) across all distributed members. |
int |
getTotalHitCount()
Returns the number of times that a hit occurred for all regions. |
int |
getTotalMissCount()
Returns the number of times that a cache miss occurred for all regions. |
int |
getTotalRegionCount()
Returns the number of Regions. |
long |
getTotalRegionEntryCount()
Returns the total number of entries in all regions. |
long |
getUsedHeapSize()
Returns the total heap used on all members. |
String[] |
listAllRegionPaths()
Returns a list of full paths for all regions. |
ObjectName[] |
listCacheServerObjectNames()
Returns a list of object names for the CacheServerMXBeans
used to access all cache servers. |
String[] |
listCacheServers()
Returns a list of names for all cache servers. |
ObjectName[] |
listDistributedRegionObjectNames()
Returns a list of object names for the DistributedRegionMXBeans
used to access all distributed regions. |
ObjectName[] |
listGatewayReceiverObjectNames()
Returns a list of object names for the GatewayReceiverMXBeans
used to access all gateway senders. |
String[] |
listGatewayReceivers()
Returns a list of IDs for all gateway receivers. |
ObjectName[] |
listGatewaySenderObjectNames()
Returns a list of object names for the GatewaySenderMXBeans
used to access all gateway senders. |
ObjectName[] |
listGatewaySenderObjectNames(String member)
Returns a list of object names for the GatewaySenderMXBeans
used to access all gateway senders on a member. |
String[] |
listGatwaySenders()
Returns a list of IDs for all gateway senders. |
String[] |
listGroups()
Returns a list of names for all groups. |
String[] |
listLocators()
Returns a list of IDs for all locators. |
Map<String,String[]> |
listMemberDiskstore()
Returns a map of all DistributedMembers and their DiskStores. |
ObjectName[] |
listMemberObjectNames()
Returns a list of object names for the MemberMXBeans used to
access all distributed members. |
String[] |
listMembers()
Returns a list of names for all members. |
PersistentMemberDetails[] |
listMissingDiskStores()
Returns a list of details for disk stores which have been determined to be unavailable during the recovery of region. |
String[] |
listRegions()
Returns a list of names for all regions. |
boolean |
revokeMissingDiskStores(String diskStoreId)
Removes a disk store from the distributed system. |
DiskMetrics |
showDiskMetrics(String member)
Returns disk metrics for a distributed member. |
JVMMetrics |
showJVMMetrics(String member)
Returns JVM metrics for a distributed member. |
NetworkMetrics |
showNetworkMetric(String member)
Returns network metrics for a distributed member. |
OSMetrics |
showOSMetrics(String member)
Returns operating system metrics for a distributed member. |
String[] |
shutDownAllMembers()
Shuts down all members of a distributed system except for the managing member. |
Map<String,Boolean> |
viewRemoteClusterStatus()
Returns a map of remote distributed system IDs and the current connection status for each. |
| Method Detail |
|---|
int getDistributedSystemId()
int getMemberCount()
String[] listMembers()
String[] listGroups()
int getLocatorCount()
String[] listLocators()
int getSystemDiskStoreCount()
Map<String,String[]> listMemberDiskstore()
DistributedMembers and their DiskStores.
String[] listGatwaySenders()
String[] listGatewayReceivers()
String getAlertLevel()
void changeAlertLevel(String alertLevel)
throws Exception
alertLevel - Minimum level for alerts to be delivered.
Must be one of: WARNING, ERROR, SEVERE or NONE.
Exceptionlong getTotalHeapSize()
long getTotalRegionEntryCount()
int getTotalRegionCount()
Regions.
int getTotalMissCount()
int getTotalHitCount()
int getNumClients()
float getDiskReadsRate()
float getDiskWritesRate()
long getDiskFlushAvgLatency()
int getTotalBackupInProgress()
int getNumInitialImagesInProgress()
long getActiveCQCount()
float getQueryRequestRate()
DiskBackupStatus backupAllMembers(String targetDirPath)
throws Exception
targetDirPath - Directory to which backup files will be written
Exception
GemFireProperties fetchMemberConfiguration(String member)
throws Exception
member - Name or ID of the member.
Exception - for an invalid member ID.
long fetchMemberUpTime(String member)
throws Exception
member - Name or ID of the member.
Exception - for an invalid member ID.String[] listCacheServers()
JVMMetrics showJVMMetrics(String member)
throws Exception
member - Name or ID of the member.
Exception - for an invalid member ID.
OSMetrics showOSMetrics(String member)
throws Exception
member - Name or ID of the member.
Exception - for an invalid member ID.
NetworkMetrics showNetworkMetric(String member)
throws Exception
member - Name or ID of the member.
Exception - for an invalid member ID.
DiskMetrics showDiskMetrics(String member)
throws Exception
member - Name or ID of the member.
Exception - for an invalid member ID.
String[] shutDownAllMembers()
throws Exception
ExceptionString[] listRegions()
String[] listAllRegionPaths()
boolean revokeMissingDiskStores(String diskStoreId)
throws Exception
diskStoreId - UUID of the disk store to remove
ExceptionPersistentMemberDetails[] listMissingDiskStores()
ObjectName getMemberObjectName()
MemberMXBean used to access
this distributed member.
ObjectName getManagerObjectName()
ManagerMXBean used to access the
management service running on this distributed member.
ObjectName[] listMemberObjectNames()
MemberMXBeans used to
access all distributed members.
ObjectName fetchMemberObjectName(String member)
throws Exception
MemberMXBean used to access
a distributed member..
member - Name or ID of the member.
Exception
ObjectName[] fetchRegionObjectNames(ObjectName memberMBeanName)
throws Exception
RegionMXBeans used to
access all regions on a distributed member.
memberMBeanName - ObjectName of the member.
ExceptionObjectName[] listDistributedRegionObjectNames()
DistributedRegionMXBeans
used to access all distributed regions.
ObjectName fetchDistributedRegionObjectName(String regionPath)
throws Exception
DistributedRegionMXBean used to
access a distributed region.
regionPath - Full path of the region.
Exception
ObjectName fetchRegionObjectName(String member,
String regionPath)
throws Exception
RegionMXBean used to access
a region.
member - Name or ID of the member.regionPath - Full path of the region.
Exception
ObjectName fetchGatewaySenderObjectName(String member,
String senderId)
throws Exception
GatewaySenderMXBean used to access
a gateway sender.
member - Name or ID of the member.senderId - ID of a gateway sender.
Exception
ObjectName fetchGatewayReceiverObjectName(String member)
throws Exception
GatewayReceiverMXBean used to access
a gateway receiver.
member - Name or ID of the member.
ExceptionObjectName[] listGatewaySenderObjectNames()
GatewaySenderMXBeans
used to access all gateway senders.
ObjectName[] listGatewaySenderObjectNames(String member)
throws Exception
GatewaySenderMXBeans
used to access all gateway senders on a member.
member - Name or ID of the member.
ExceptionObjectName[] listGatewayReceiverObjectNames()
GatewayReceiverMXBeans
used to access all gateway senders.
ObjectName fetchDistributedLockServiceObjectName(String lockServiceName)
throws Exception
DistributedLockServiceMXBean used to
access a distributed lock service.
lockServiceName - Name of the lock service.
Exception
ObjectName fetchLockServiceObjectName(String member,
String lockService)
throws Exception
LockServiceMXBean used to
access a lock service.
member - Name or Id of the member.lockService - Name of the lock service.
Exception
ObjectName fetchDiskStoreObjectName(String member,
String diskStoreName)
throws Exception
DiskStoreMXBean for a given name and member
member - name or id of the memberdiskStoreName - name of the disk store
Exception
ObjectName fetchCacheServerObjectName(String member,
int port)
throws Exception
CacheServerMXBean used to access
a cache server.
member - Name or ID of the member.port - Port of the server.
ExceptionObjectName[] listCacheServerObjectNames()
CacheServerMXBeans
used to access all cache servers.
int getNumRunningFunctions()
long getRegisteredCQCount()
long getTotalDiskUsage()
long getUsedHeapSize()
float getAverageReads()
float getAverageWrites()
int getNumSubscriptions()
long getTotalBytesOnDisk()
long getGarbageCollectionCount()
Map<String,Boolean> viewRemoteClusterStatus()
long getJVMPauses()
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||