com.metamatrix.common.pooling.api
Interface ResourcePoolStatistics

All Known Implementing Classes:
BasicResourcePoolStatistics

public interface ResourcePoolStatistics


Method Summary
 void addStatistic(PoolStatistic statistic)
          Add a PoolStatistic to be monitored
 ComponentTypeID getComponentTypeID()
          Returns the com.metamatrix.common.config.ComponentTypeID that identifies the type of pool these statistics represent.
 ResourceDescriptorID getResourceDescriptorID()
          Returns the descriptor id for the resource pool.
 PoolStatistic getStatistic(java.lang.String statName)
          Returns the PoolStatistic of the monitored statistic object
 java.util.Collection getStatisticNames()
          Returns a collection of all the statistics being gather for this pool
 java.util.Map getStatistics()
          Returns the map of the PoolStatistics keyed by the statistic name
 

Method Detail

addStatistic

void addStatistic(PoolStatistic statistic)
Add a PoolStatistic to be monitored


getStatistic

PoolStatistic getStatistic(java.lang.String statName)
Returns the PoolStatistic of the monitored statistic object

Returns:
PoolStatistic value of the monitor statistic value

getResourceDescriptorID

ResourceDescriptorID getResourceDescriptorID()
Returns the descriptor id for the resource pool.

Returns:
ResourceDescriptorID pool ID

getComponentTypeID

ComponentTypeID getComponentTypeID()
Returns the com.metamatrix.common.config.ComponentTypeID that identifies the type of pool these statistics represent.

Returns:
ComponentTypeID is the type id

getStatisticNames

java.util.Collection getStatisticNames()
Returns a collection of all the statistics being gather for this pool

Returns:
Collection of statistic names

getStatistics

java.util.Map getStatistics()
Returns the map of the PoolStatistics keyed by the statistic name

Returns:
Map of PoolStatistics


Copyright © 2009. All Rights Reserved.