Rio Project 4.2 API Documentation



org.rioproject.watch
Interface WatchMBean

All Known Subinterfaces:
CounterWatchMBean, DiskSpaceMBean, MeasurableCapabilityMBean, PeriodicWatchMBean, StopWatchMBean, ThresholdWatchMBean
All Known Implementing Classes:
CounterWatch, CPU, DiskSpace, GaugeWatch, MeasurableCapability, Memory, MemoryPool, PeriodicWatch, SamplingWatch, StopWatch, SystemMemory, ThresholdWatch, Watch

public interface WatchMBean

Provides a standard MBean to use when administering a Watch using JMX


Method Summary
 void clear()
          Clear the collected values
 TabularData getCalculables()
          Get all collected Calculable values as TabularData
 String getId()
          Getter for property id.
 double getLastCalculableValue()
          Get the last Calculable as a CompositeData object
 

Method Detail

getId

String getId()
Getter for property id.

Returns:
Value of property id.

getLastCalculableValue

double getLastCalculableValue()
Get the last Calculable as a CompositeData object

Returns:
The last Calculable as a CompositeData object

clear

void clear()
Clear the collected values


getCalculables

TabularData getCalculables()
Get all collected Calculable values as TabularData

Returns:
All Calculable values as TabularData

Copyright © Rio Project.

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