Rio Project 4.2 API Documentation
org.rioproject.watch
Class SamplingWatch
java.lang.Object
org.rioproject.watch.Watch
org.rioproject.watch.ThresholdWatch
org.rioproject.watch.PeriodicWatch
org.rioproject.watch.SamplingWatch
- All Implemented Interfaces:
- PeriodicWatchMBean, ThresholdWatchMBean, WatchMBean
public class SamplingWatch
- extends PeriodicWatch
An implementation of a PeriodicWatch that samples a bean's method
| Methods inherited from class org.rioproject.watch.ThresholdWatch |
addThresholdListener, addWatchRecord, getBreachedCount, getClearedCount, getCurrentHighThreshold, getCurrentLowThreshold, getHighThreshold, getLowThreshold, getThresholdManager, getThresholdValues, removeThresholdListener, setCurrentHighThreshold, setCurrentLowThreshold, setThresholdValues |
| Methods inherited from class org.rioproject.watch.Watch |
clear, equals, getCalculables, getId, getLastCalculableValue, getView, getWatchDataSource, hashCode, main, setView, setWatchDataSource, toString |
SamplingWatch
public SamplingWatch(String id)
SamplingWatch
public SamplingWatch(String id,
Configuration config)
SamplingWatch
public SamplingWatch(WatchDataSource watchDataSource,
String id)
setProperty
public void setProperty(String property)
getProperty
public String getProperty()
setBean
public void setBean(Object bean)
setAccessor
public void setAccessor(Method accessor)
checkValue
public void checkValue()
- Description copied from interface:
PeriodicWatchMBean
- Abstract method to check the watch's value at the periodic interval
Copyright © 2006-2011 Rio Project. All Rights Reserved.