org.apache.geode.management

## Interface DistributedSystemMXBean

-     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. There will be one DistributedSystemMBean per GemFire cluster.

  ObjectName : GemFire:service=System,type=Distributed

  List of notifications emitted by this MBean.

  Notification Type | Notification Source | Message
  --- | --- | ---
  gemfire.distributedsystem.cache.member.joined | Name or ID of member who joined | Member Joined <Member Name or ID>
  gemfire.distributedsystem.cache.member.departed | Name or ID of member who departed | Member Departed <Member Name or ID> has crashed = <true/false>
  gemfire.distributedsystem.cache.member.suspect | Name or ID of member who is suspected | Member Suspected <Member Name or ID> By <Who Suspected>
  system.alert | DistributedSystem("<DistributedSystem ID">) | Alert Message

  Since:
    GemFire 7.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `DiskBackupStatus` | `backupAllMembers(java.lang.String targetDirPath, java.lang.String baselineDirPath)` Performs a backup on all members.
    `void` | `changeAlertLevel(java.lang.String alertLevel)` Sets the minimum level for alerts to be delivered to listeners.
    `javax.management.ObjectName` | `fetchCacheServerObjectName(java.lang.String member, int port)` Returns the object name for a `CacheServerMXBean` used to access a cache server.
    `javax.management.ObjectName` | `fetchDiskStoreObjectName(java.lang.String member, java.lang.String diskStoreName)` Returns object name of a `DiskStoreMXBean` for a given name and member
    `javax.management.ObjectName` | `fetchDistributedLockServiceObjectName(java.lang.String lockServiceName)` Returns the object name for a `DistributedLockServiceMXBean` used to access a distributed lock service.
    `javax.management.ObjectName` | `fetchDistributedRegionObjectName(java.lang.String regionPath)` Returns the object name for a `DistributedRegionMXBean` used to access a distributed region.
    `javax.management.ObjectName` | `fetchGatewayReceiverObjectName(java.lang.String member)` Returns the object name for a `GatewayReceiverMXBean` used to access a gateway receiver.
    `javax.management.ObjectName` | `fetchGatewaySenderObjectName(java.lang.String member, java.lang.String senderId)` Returns the object name for a `GatewaySenderMXBean` used to access a gateway sender.
    `javax.management.ObjectName` | `fetchLockServiceObjectName(java.lang.String member, java.lang.String lockService)` Returns the object name for a `LockServiceMXBean` used to access a lock service.
    `GemFireProperties` | `fetchMemberConfiguration(java.lang.String member)` Returns the configuration information for a distributed member.
    `javax.management.ObjectName` | `fetchMemberObjectName(java.lang.String member)` Returns the object name for a `MemberMXBean` used to access a distributed member..
    `long` | `fetchMemberUpTime(java.lang.String member)` Returns the total time (in seconds) since a distributed member was started.
    `javax.management.ObjectName` | `fetchRegionObjectName(java.lang.String member, java.lang.String regionPath)` Returns the object name for a `RegionMXBean` used to access a region.
    `javax.management.ObjectName[]` | `fetchRegionObjectNames(javax.management.ObjectName memberMBeanName)` Returns a list of object names for the `RegionMXBean`s used to access all regions on a distributed member.
    `long` | `getActiveCQCount()` Returns the number of active (currently executing) CQs for all cache servers.
    `java.lang.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.
    `javax.management.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.
    `javax.management.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.
    `int` | `getQueryCollectionsDepth()` Number of elements in a collection to be shown in queryData operation if query results contain collections like Map, List etc.
    `float` | `getQueryRequestRate()` Returns the average number of queries per second across all distributed members.
    `int` | `getQueryResultSetLimit()` Number of rows DistributedSystemMXBean.queryData() operation will return.
    `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` | `getTotalDiskUsage()` Returns the number of bytes 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 `Region`s.
    `long` | `getTotalRegionEntryCount()` Returns the total number of entries in all regions.
    `int` | `getTransactionCommitted()` Returns the number of committed transactions across all members.
    `int` | `getTransactionRolledBack()` Returns the number of transactions that were rolled back across all members.
    `long` | `getUsedHeapSize()` Returns the total heap used on all members.
    `java.lang.String[]` | `listAllRegionPaths()` Returns a list of full paths for all regions.
    `javax.management.ObjectName[]` | `listCacheServerObjectNames()` Returns a list of object names for the `CacheServerMXBean`s used to access all cache servers.
    `java.lang.String[]` | `listCacheServers()` Returns a list of names for all cache servers which are able to serve requests from GemFire clients.
    `javax.management.ObjectName[]` | `listDistributedRegionObjectNames()` Returns a list of object names for the `DistributedRegionMXBean`s used to access all distributed regions.
    `javax.management.ObjectName[]` | `listGatewayReceiverObjectNames()` Returns a list of object names for the `GatewayReceiverMXBean`s used to access all gateway senders.
    `java.lang.String[]` | `listGatewayReceivers()` Returns a list of IDs for all gateway receivers.
    `javax.management.ObjectName[]` | `listGatewaySenderObjectNames()` Returns a list of object names for the `GatewaySenderMXBean`s used to access all gateway senders.
    `javax.management.ObjectName[]` | `listGatewaySenderObjectNames(java.lang.String member)` Returns a list of object names for the `GatewaySenderMXBean`s used to access all gateway senders on a member.
    `java.lang.String[]` | `listGatewaySenders()` Returns a list of IDs for all gateway senders.
    `java.lang.String[]` | `listGroups()` Returns a list of names for all groups.
    `java.lang.String[]` | `listLocatorMembers(boolean onlyStandAloneLocators)` Returns a list of names for locator members.
    `java.lang.String[]` | `listLocators()` Returns a list of IDs for all locators.
    `java.util.Map<java.lang.String,java.lang.String[]>` | `listMemberDiskstore()` Returns a map of all `DistributedMember`s and their `DiskStore`s.
    `javax.management.ObjectName[]` | `listMemberObjectNames()` Returns a list of object names for the `MemberMXBean`s used to access all distributed members.
    `java.lang.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.
    `java.lang.String[]` | `listRegions()` Returns a list of names for all regions.
    `java.lang.String[]` | `listServers()` Returns a list of names for all servers where server means any long-running GemFire process that was started with "start server" command from GFSH.
    `java.lang.String` | `queryData(java.lang.String queryString, java.lang.String members, int limit)` This API is used to query data from GemFire system.
    `byte[]` | `queryDataForCompressedResult(java.lang.String queryString, java.lang.String members, int limit)` Functionality is same as queryData() method.
    `boolean` | `revokeMissingDiskStores(java.lang.String diskStoreId)` Removes a disk store from the distributed system.
    `void` | `setQueryCollectionsDepth(int queryCollectionsDepth)`
    `void` | `setQueryResultSetLimit(int queryResultSetLimit)`
    `DiskMetrics` | `showDiskMetrics(java.lang.String member)` Returns disk metrics for a distributed member.
    `JVMMetrics` | `showJVMMetrics(java.lang.String member)` Returns JVM metrics for a distributed member.
    `NetworkMetrics` | `showNetworkMetric(java.lang.String member)` Returns network metrics for a distributed member.
    `OSMetrics` | `showOSMetrics(java.lang.String member)` Returns operating system metrics for a distributed member.
    `java.lang.String[]` | `shutDownAllMembers()` Shuts down all members of a distributed system except for the managing member.
    `java.util.Map<java.lang.String,java.lang.Boolean>` | `viewRemoteClusterStatus()` Returns a map of remote distributed system IDs and the current connection status for each.

- - ### Method Detail

    - #### getDistributedSystemId

          int getDistributedSystemId()

      Returns the ID of thie DistributedSystem. allow anyone to access this method
      Returns:
        The DistributedSystem ID or -1 if not set.

    - #### getMemberCount

          int getMemberCount()

      Returns the number of members in the distributed system.

    - #### listMembers

          java.lang.String[] listMembers()

      Returns a list of names for all members.

    - #### listLocatorMembers

          java.lang.String[] listLocatorMembers(boolean onlyStandAloneLocators)

      Returns a list of names for locator members.
      Parameters:
        `onlyStandAloneLocators` - if set to `true`, includes only stand alone locator members.
      Returns:
        a list of names for locator members.

    - #### listGroups

          java.lang.String[] listGroups()

      Returns a list of names for all groups.

    - #### getLocatorCount

          int getLocatorCount()

      Returns the number of locators in the distributed system.

    - #### listLocators

          java.lang.String[] listLocators()

      Returns a list of IDs for all locators.

    - #### getSystemDiskStoreCount

          int getSystemDiskStoreCount()

      Returns the number of disks stores in the distributed system.

    - #### listMemberDiskstore

          java.util.Map<java.lang.String,java.lang.String[]> listMemberDiskstore()

      Returns a map of all `DistributedMember`s and their `DiskStore`s.

    - #### listGatewaySenders

          java.lang.String[] listGatewaySenders()

      Returns a list of IDs for all gateway senders.

    - #### listGatewayReceivers

          java.lang.String[] listGatewayReceivers()

      Returns a list of IDs for all gateway receivers.

    - #### getAlertLevel

          java.lang.String getAlertLevel()

      Returns the minimum level set for alerts to be delivered to listeners.

    - #### changeAlertLevel

          void changeAlertLevel(java.lang.String alertLevel)
                         throws java.lang.Exception

      Sets the minimum level for alerts to be delivered to listeners.
      Parameters:
        `alertLevel` - Minimum level for alerts to be delivered. Must be one of: WARNING, ERROR, SEVERE or NONE.
      Throws:
        `java.lang.Exception`

    - #### getTotalHeapSize

          long getTotalHeapSize()

      Returns the total available heap (in megabytes) across all distributed members.

    - #### getTotalRegionEntryCount

          long getTotalRegionEntryCount()

      Returns the total number of entries in all regions.

    - #### getTotalRegionCount

          int getTotalRegionCount()

      Returns the number of `Region`s.

    - #### getTotalMissCount

          int getTotalMissCount()

      Returns the number of times that a cache miss occurred for all regions.

    - #### getTotalHitCount

          int getTotalHitCount()

      Returns the number of times that a hit occurred for all regions.

    - #### getNumClients

          int getNumClients()

      Returns the number of connected clients.

    - #### getDiskReadsRate

          float getDiskReadsRate()

      Returns the average number of disk reads per second across all distributed members.

    - #### getDiskWritesRate

          float getDiskWritesRate()

      Returns the average number of disk writes per second across all distributed members.

    - #### getDiskFlushAvgLatency

          long getDiskFlushAvgLatency()

      Returns the average disk flush latency time.

    - #### getTotalBackupInProgress

          int getTotalBackupInProgress()

      Returns the number of backups currently in progress for all disk stores.

    - #### getNumInitialImagesInProgress

          int getNumInitialImagesInProgress()

      Returns the number of initial images in progress.

    - #### getActiveCQCount

          long getActiveCQCount()

      Returns the number of active (currently executing) CQs for all cache servers.

    - #### getQueryRequestRate

          float getQueryRequestRate()

      Returns the average number of queries per second across all distributed members.

    - #### backupAllMembers

          DiskBackupStatus backupAllMembers(java.lang.String targetDirPath,
                                            java.lang.String baselineDirPath)
                                     throws java.lang.Exception

      Performs a backup on all members.
      Parameters:
        `targetDirPath` - Directory to which backup files will be written
        `baselineDirPath` - path of the directory for baseline backup.
      Returns:
        The results of the backup request.
      Throws:
        `java.lang.Exception`

    - #### fetchMemberConfiguration

          GemFireProperties fetchMemberConfiguration(java.lang.String member)
                                              throws java.lang.Exception

      Returns the configuration information for a distributed member.
      Parameters:
        `member` - Name or ID of the member.
      Returns:
        The configuration information for a member.
      Throws:
        `java.lang.Exception` - for an invalid member ID.

    - #### fetchMemberUpTime

          long fetchMemberUpTime(java.lang.String member)
                          throws java.lang.Exception

      Returns the total time (in seconds) since a distributed member was started.
      Parameters:
        `member` - Name or ID of the member.
      Returns:
        The total time (in seconds) since a member was started.
      Throws:
        `java.lang.Exception` - for an invalid member ID.

    - #### listCacheServers

          java.lang.String[] listCacheServers()

      Returns a list of names for all cache servers which are able to serve requests from GemFire clients.

    - #### listServers

          java.lang.String[] listServers()

      Returns a list of names for all servers where server means any long-running GemFire process that was started with "start server" command from GFSH.

    - #### showJVMMetrics

          JVMMetrics showJVMMetrics(java.lang.String member)
                             throws java.lang.Exception

      Returns JVM metrics for a distributed member.
      Parameters:
        `member` - Name or ID of the member.
      Throws:
        `java.lang.Exception` - for an invalid member ID.

    - #### showOSMetrics

          OSMetrics showOSMetrics(java.lang.String member)
                           throws java.lang.Exception

      Returns operating system metrics for a distributed member.
      Parameters:
        `member` - Name or ID of the member.
      Throws:
        `java.lang.Exception` - for an invalid member ID.

    - #### showNetworkMetric

          NetworkMetrics showNetworkMetric(java.lang.String member)
                                    throws java.lang.Exception

      Returns network metrics for a distributed member.
      Parameters:
        `member` - Name or ID of the member.
      Throws:
        `java.lang.Exception` - for an invalid member ID.

    - #### showDiskMetrics

          DiskMetrics showDiskMetrics(java.lang.String member)
                               throws java.lang.Exception

      Returns disk metrics for a distributed member.
      Parameters:
        `member` - Name or ID of the member.
      Throws:
        `java.lang.Exception` - for an invalid member ID.

    - #### shutDownAllMembers

          java.lang.String[] shutDownAllMembers()
                                         throws java.lang.Exception

      Shuts down all members of a distributed system except for the managing member.
      Returns:
        List of names of all distributed members that were shutdown.
      Throws:
        `java.lang.Exception`

    - #### listRegions

          java.lang.String[] listRegions()

      Returns a list of names for all regions.

    - #### listAllRegionPaths

          java.lang.String[] listAllRegionPaths()

      Returns a list of full paths for all regions.

    - #### revokeMissingDiskStores

          boolean revokeMissingDiskStores(java.lang.String diskStoreId)
                                   throws java.lang.Exception

      Removes a disk store from the distributed system.
      Parameters:
        `diskStoreId` - UUID of the disk store to remove
      Returns:
        True if the request is successful, false otherwise.
      Throws:
        `java.lang.Exception`

    - #### listMissingDiskStores

          PersistentMemberDetails[] listMissingDiskStores()

      Returns a list of details for disk stores which have been determined to be unavailable during the recovery of region.

    - #### getMemberObjectName

          javax.management.ObjectName getMemberObjectName()

      Returns the object name for a `MemberMXBean` used to access this distributed member. allow anyone to access this method

    - #### getManagerObjectName

          javax.management.ObjectName getManagerObjectName()

      Returns the object name for a `ManagerMXBean` used to access the management service running on this distributed member.

    - #### listMemberObjectNames

          javax.management.ObjectName[] listMemberObjectNames()

      Returns a list of object names for the `MemberMXBean`s used to access all distributed members.

    - #### fetchMemberObjectName

          javax.management.ObjectName fetchMemberObjectName(java.lang.String member)
                                                     throws java.lang.Exception

      Returns the object name for a `MemberMXBean` used to access a distributed member..
      Parameters:
        `member` - Name or ID of the member.
      Throws:
        `java.lang.Exception`

    - #### fetchRegionObjectNames

          javax.management.ObjectName[] fetchRegionObjectNames(javax.management.ObjectName memberMBeanName)
                                                        throws java.lang.Exception

      Returns a list of object names for the `RegionMXBean`s used to access all regions on a distributed member.
      Parameters:
        `memberMBeanName` - ObjectName of the member.
      Throws:
        `java.lang.Exception`

    - #### listDistributedRegionObjectNames

          javax.management.ObjectName[] listDistributedRegionObjectNames()

      Returns a list of object names for the `DistributedRegionMXBean`s used to access all distributed regions.
      Returns:
        An array of object names or an empty array if no distributed regions are found.

    - #### fetchDistributedRegionObjectName

          javax.management.ObjectName fetchDistributedRegionObjectName(java.lang.String regionPath)
                                                                throws java.lang.Exception

      Returns the object name for a `DistributedRegionMXBean` used to access a distributed region.
      Parameters:
        `regionPath` - Full path of the region.
      Throws:
        `java.lang.Exception`

    - #### fetchRegionObjectName

          javax.management.ObjectName fetchRegionObjectName(java.lang.String member,
                                                            java.lang.String regionPath)
                                                     throws java.lang.Exception

      Returns the object name for a `RegionMXBean` used to access a region.
      Parameters:
        `member` - Name or ID of the member.
        `regionPath` - Full path of the region.
      Throws:
        `java.lang.Exception`

    - #### fetchGatewaySenderObjectName

          javax.management.ObjectName fetchGatewaySenderObjectName(java.lang.String member,
                                                                   java.lang.String senderId)
                                                            throws java.lang.Exception

      Returns the object name for a `GatewaySenderMXBean` used to access a gateway sender.
      Parameters:
        `member` - Name or ID of the member.
        `senderId` - ID of a gateway sender.
      Throws:
        `java.lang.Exception`

    - #### fetchGatewayReceiverObjectName

          javax.management.ObjectName fetchGatewayReceiverObjectName(java.lang.String member)
                                                              throws java.lang.Exception

      Returns the object name for a `GatewayReceiverMXBean` used to access a gateway receiver.
      Parameters:
        `member` - Name or ID of the member.
      Throws:
        `java.lang.Exception`

    - #### listGatewaySenderObjectNames

          javax.management.ObjectName[] listGatewaySenderObjectNames()

      Returns a list of object names for the `GatewaySenderMXBean`s used to access all gateway senders.
      Returns:
        An array of object names or an empty array if no gateway senders are found.

    - #### listGatewaySenderObjectNames

          javax.management.ObjectName[] listGatewaySenderObjectNames(java.lang.String member)
                                                              throws java.lang.Exception

      Returns a list of object names for the `GatewaySenderMXBean`s used to access all gateway senders on a member.
      Parameters:
        `member` - Name or ID of the member.
      Throws:
        `java.lang.Exception`

    - #### listGatewayReceiverObjectNames

          javax.management.ObjectName[] listGatewayReceiverObjectNames()

      Returns a list of object names for the `GatewayReceiverMXBean`s used to access all gateway senders.
      Returns:
        An array of object names or an empty array if no gateway receivers are found.

    - #### fetchDistributedLockServiceObjectName

          javax.management.ObjectName fetchDistributedLockServiceObjectName(java.lang.String lockServiceName)
                                                                     throws java.lang.Exception

      Returns the object name for a `DistributedLockServiceMXBean` used to access a distributed lock service.
      Parameters:
        `lockServiceName` - Name of the lock service.
      Throws:
        `java.lang.Exception`

    - #### fetchLockServiceObjectName

          javax.management.ObjectName fetchLockServiceObjectName(java.lang.String member,
                                                                 java.lang.String lockService)
                                                          throws java.lang.Exception

      Returns the object name for a `LockServiceMXBean` used to access a lock service.
      Parameters:
        `member` - Name or Id of the member.
        `lockService` - Name of the lock service.
      Throws:
        `java.lang.Exception`

    - #### fetchDiskStoreObjectName

          javax.management.ObjectName fetchDiskStoreObjectName(java.lang.String member,
                                                               java.lang.String diskStoreName)
                                                        throws java.lang.Exception

      Returns object name of a `DiskStoreMXBean` for a given name and member
      Parameters:
        `member` - name or id of the member
        `diskStoreName` - name of the disk store
      Returns:
        a ObjectName
      Throws:
        `java.lang.Exception`

    - #### fetchCacheServerObjectName

          javax.management.ObjectName fetchCacheServerObjectName(java.lang.String member,
                                                                 int port)
                                                          throws java.lang.Exception

      Returns the object name for a `CacheServerMXBean` used to access a cache server.
      Parameters:
        `member` - Name or ID of the member.
        `port` - Port of the server.
      Throws:
        `java.lang.Exception`

    - #### listCacheServerObjectNames

          javax.management.ObjectName[] listCacheServerObjectNames()

      Returns a list of object names for the `CacheServerMXBean`s used to access all cache servers.

    - #### getNumRunningFunctions

          int getNumRunningFunctions()

      Returns the number of map-reduce jobs currently running on all members in the distributed system.

    - #### getRegisteredCQCount

          long getRegisteredCQCount()

      Returns the number of CQs registers on all members.

    - #### getTotalDiskUsage

          long getTotalDiskUsage()

      Returns the number of bytes used on all disks.

    - #### getUsedHeapSize

          long getUsedHeapSize()

      Returns the total heap used on all members.

    - #### getAverageReads

          float getAverageReads()

      Returns the average number of reads per second for all members.

    - #### getAverageWrites

          float getAverageWrites()

      Returns the average writes per second, including both put and putAll operations, for all members.

    - #### getNumSubscriptions

          int getNumSubscriptions()

      Returns the number of subscriptions for all members.

    - #### getGarbageCollectionCount

          long getGarbageCollectionCount()

      Returns the number of garbage collection operations for all members.

    - #### viewRemoteClusterStatus

          java.util.Map<java.lang.String,java.lang.Boolean> viewRemoteClusterStatus()

      Returns a map of remote distributed system IDs and the current connection status for each.

    - #### getJVMPauses

          long getJVMPauses()

      Returns the number JVM pauses (which may or may not include full garbage collection pauses) detected by GemFire.

    - #### queryData

          java.lang.String queryData(java.lang.String queryString,
                                     java.lang.String members,
                                     int limit)
                              throws java.lang.Exception

      This API is used to query data from GemFire system. This returns a JSON formated String having data and it's type. Type and value of data makes an array , type preceding the value. e.g. {"result":[["java.lang.String","v"],["java.lang.String","b"]]} GemFire PDXInstances are also supported. The type of PDXInstance is PDXInstance and value will be key value pair. There is no marker to know the "IdentityField" of the PDXInstance. If the query is executed on the cluster and no member list is given in input first key of the JSON string will be "result" followed by the result set in JSON format. If the query is executed on one or more specific members then returned string will have an array of "member" and "result" keys. For query on replicated region data from a random node which have the region is shown, if no member input is given. For PR regions data from all the nodes are collected and shown. User must be careful to query on a PR if the region is big and hosted on a lot of nodes Join queries on PR mandates that user provide one member as input. If the member does not host the regions or the regions are not co-located error string will be returned.
      Parameters:
        `queryString` - GemFire supported OQL query
        `members` - comma separated list of members on which the query is to be executed. It is not mandatory to give this input barring join queries on PR. If member list is not provided query will be for the whole cluster.
        `limit` - result set limit. If not set or 0 is passed default limit of 1000 will be set.
      Returns:
        a JSON formated string containing data and its type
      Throws:
        `java.lang.Exception`

    - #### queryDataForCompressedResult

          byte[] queryDataForCompressedResult(java.lang.String queryString,
                                              java.lang.String members,
                                              int limit)
                                       throws java.lang.Exception

      Functionality is same as queryData() method. Only difference being the resultant JSON string is compressed with Java GZIP with UTF-8 encoding. Any client application can de compress the byte[] using GZIP. e.g. GZIPInputStream gis = new GZIPInputStream(new ByteArrayInputStream(bytes)); BufferedReader bf = new BufferedReader(new InputStreamReader(gis,"UTF-8")); String outStr = ""; String line; while ((line = bf.readLine()) != null) { outStr += line; }
      Parameters:
        `queryString` - GemFire supported OQL query
        `members` - comma separated list of members on which the query is to be executed. It is not mandatory to give this input barring join queries on PR. If member list is not provided query will be for the whole cluster.
        `limit` - result set limit. If not set or 0 is passed default limit of 1000 will be set.
      Returns:
        a byte[] which is a compressed JSON string.
      Throws:
        `java.lang.Exception`

    - #### getTransactionCommitted

          int getTransactionCommitted()

      Returns the number of committed transactions across all members. It gives point in time value i.e. Number of tx committed at the time of reading this value

    - #### getTransactionRolledBack

          int getTransactionRolledBack()

      Returns the number of transactions that were rolled back across all members. It gives point in time value i.e. Number of tx rolled back at the time of reading this value

    - #### getQueryResultSetLimit

          int getQueryResultSetLimit()

      Number of rows DistributedSystemMXBean.queryData() operation will return. By default it will be 1000. User can modify this to control number of rows to be shown on Pulse, as Pulse DataBrowser internally uses DistributedSystemMXBean.queryData()

    - #### setQueryResultSetLimit

          void setQueryResultSetLimit(int queryResultSetLimit)

    - #### getQueryCollectionsDepth

          int getQueryCollectionsDepth()

      Number of elements in a collection to be shown in queryData operation if query results contain collections like Map, List etc.

    - #### setQueryCollectionsDepth

          void setQueryCollectionsDepth(int queryCollectionsDepth)