Rio Project 4.2 API Documentation



org.rioproject.system.measurable.memory.pool
Class MemoryPoolUtilization

java.lang.Object
  extended by org.rioproject.system.MeasuredResource
      extended by org.rioproject.system.measurable.memory.pool.MemoryPoolUtilization
All Implemented Interfaces:
Serializable

public class MemoryPoolUtilization
extends MeasuredResource

Measured JMX memory pool utilization

See Also:
Serialized Form

Constructor Summary
MemoryPoolUtilization(String identifier, double value, long committed, long init, long max, long used, ThresholdValues thresholdValues)
           
MemoryPoolUtilization(String identifier, double value, ThresholdValues thresholdValues)
          Construct a MeasuredResource with parameters
 
Method Summary
 long getCommitted()
           
 long getInit()
           
 long getMax()
           
 long getUsed()
           
 String toString()
           
 
Methods inherited from class org.rioproject.system.MeasuredResource
equals, evaluate, getIdentifier, getThresholdValues, getValue, hashCode, thresholdCrossed
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemoryPoolUtilization

public MemoryPoolUtilization(String identifier,
                             double value,
                             ThresholdValues thresholdValues)
Construct a MeasuredResource with parameters

Parameters:
identifier - Identifier for the MeasurableResource
value - The measured value
thresholdValues - ThresholdValues for the MeasurableResource

MemoryPoolUtilization

public MemoryPoolUtilization(String identifier,
                             double value,
                             long committed,
                             long init,
                             long max,
                             long used,
                             ThresholdValues thresholdValues)
Method Detail

getCommitted

public long getCommitted()

getInit

public long getInit()

getMax

public long getMax()

getUsed

public long getUsed()

toString

public String toString()
Overrides:
toString in class MeasuredResource

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.