org.ow2.jasmine.probe.collectors.constant
Class ConstantCollector
java.lang.Object
org.ow2.jasmine.probe.collectors.JCollector
org.ow2.jasmine.probe.collectors.constant.ConstantCollector
- All Implemented Interfaces:
- JasmineCollector
public class ConstantCollector
- extends JCollector
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollector |
addJsr, addLongJsr, addLongValues, addValues, averageJsr, diffJsr, diffLongValues, diffValues, divideJsr, divideLongValues, divideValues, getDefaultTarget, getDomainName, getIndicator, getIndicatorName, getJsr, getProbeId, getServerName, isRemoved, jsrProps, longValue, maxJsr, minJsr, multiplyJsr, multiplyLongValues, multiplyValues, remove, setProbeManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantCollector
public ConstantCollector(String probeId,
JasmineIndicator indicator,
int period)
- Constructor
- Parameters:
indicator - definition
getLastResult
public JasmineIndicatorValue getLastResult()
throws JasmineCollectorException
- Retrieve the last results for this indicator
This method return a List of results in case indicator represents
actually a list of value
- Specified by:
getLastResult in interface JasmineCollector- Specified by:
getLastResult in class JCollector
- Returns:
- List of JasmineIndicatorValue
- Throws:
JasmineCollectorException
stopPolling
public void stopPolling()
- Stop polling
- Specified by:
stopPolling in interface JasmineCollector- Specified by:
stopPolling in class JCollector
startPolling
public void startPolling()
- Restart polling
- Specified by:
startPolling in interface JasmineCollector- Specified by:
startPolling in class JCollector
Copyright © 2012 OW2 Consortium. All Rights Reserved.