geode-core/src/main/java/org/apache/geode/admin/jmx/internal/StatisticResourceJmxImpl.java
private void initializeMBean() throws org.apache.geode.admin.AdminException {
    mbeanName = "GemFire.Statistic:" + "source="
        + MBeanUtils.makeCompliantMBeanNameProperty(member.getId()) + ",type="
        + MBeanUtils.makeCompliantMBeanNameProperty(getType()) + ",name="
        + MBeanUtils.makeCompliantMBeanNameProperty(getName()) + ",uid="
        + getUniqueId();

    objectName =
        MBeanUtils.createMBean(this, addDynamicAttributes(MBeanUtils.lookupManagedBean(this)));

    // Refresh Interval
    AdminDistributedSystemJmxImpl sysJmx =
        (AdminDistributedSystemJmxImpl) member.getDistributedSystem();
    if (sysJmx.getRefreshInterval() > 0) {
      refreshInterval = sysJmx.getRefreshInterval();
    }
  }
/** Create and register the MBean to manage this resource */
Create and register the MBean to manage this resource
Create and register the MBean to manage this resource
private void initializeMBean() throws org.apache.geode.admin.AdminException {
    mbeanName = "GemFire.Statistic:" + "source="
        + MBeanUtils.makeCompliantMBeanNameProperty(member.getId()) + ",type="
        + MBeanUtils.makeCompliantMBeanNameProperty(getType()) + ",name="
        + MBeanUtils.makeCompliantMBeanNameProperty(getName()) + ",uid="
        + getUniqueId();
    objectName =
        MBeanUtils.createMBean(this, addDynamicAttributes(MBeanUtils.lookupManagedBean(this)));
    AdminDistributedSystemJmxImpl sysJmx =
        (AdminDistributedSystemJmxImpl) member.getDistributedSystem();
    if (sysJmx.getRefreshInterval() > 0) {
      refreshInterval = sysJmx.getRefreshInterval();
    }
  }
private void initializeMBean ( ) throws org . apache . geode . admin . AdminException { mbeanName = "GemFire.Statistic:" + "source=" + MBeanUtils . makeCompliantMBeanNameProperty ( member . getId ( ) ) + ",type=" + MBeanUtils . makeCompliantMBeanNameProperty ( getType ( ) ) + ",name=" + MBeanUtils . makeCompliantMBeanNameProperty ( getName ( ) ) + ",uid=" + getUniqueId ( ) ; objectName = MBeanUtils . createMBean ( this , addDynamicAttributes ( MBeanUtils . lookupManagedBean ( this ) ) ) ; AdminDistributedSystemJmxImpl sysJmx = ( AdminDistributedSystemJmxImpl ) member . getDistributedSystem ( ) ; if ( sysJmx . getRefreshInterval ( ) > 0 ) { refreshInterval = sysJmx . getRefreshInterval ( ) ; } }
Create and register the MBean to manage this resource
Create and register the MBean to manage this resource
// Refresh Interval