GemFire 6.6.1

com.gemstone.gemfire.admin
Interface StatisticResource


public interface StatisticResource

Adminitrative interface for monitoring a statistic resource in a GemFire system member. A resource is comprised of one or many Statistics.

Since:
3.5

Method Summary
 String getDescription()
          Gets the full description of this resource.
 String getName()
          Gets the identifying name of this resource.
 String getOwner()
          Returns a display string of the SystemMember owning this resource.
 Statistic[] getStatistics()
          Returns a read-only array of every Statistic in this resource.
 String getType()
          Gets the classification type of this resource.
 long getUniqueId()
          Returns an ID that uniquely identifies the resource within the SystemMember it belongs to.
 void refresh()
          Refreshes the values of every Statistic in this resource by retrieving them from the member's VM.
 

Method Detail

getName

String getName()
Gets the identifying name of this resource.

Returns:
the identifying name of this resource

getDescription

String getDescription()
Gets the full description of this resource.

Returns:
the full description of this resource

getType

String getType()
Gets the classification type of this resource.

Returns:
the classification type of this resource
Since:
5.0

getOwner

String getOwner()
Returns a display string of the SystemMember owning this resource.

Returns:
a display string of the owning SystemMember

getUniqueId

long getUniqueId()
Returns an ID that uniquely identifies the resource within the SystemMember it belongs to.

Returns:
unique id within the owning SystemMember

getStatistics

Statistic[] getStatistics()
Returns a read-only array of every Statistic in this resource.

Returns:
read-only array of every Statistic in this resource

refresh

void refresh()
             throws AdminException
Refreshes the values of every Statistic in this resource by retrieving them from the member's VM.

Throws:
AdminException - if unable to refresh statistic values

GemFire 6.6.1

Copyright © 1997-2011 VMware, Inc. All rights reserved.