org.ow2.jasmine.probe.collectors.derived.internal
Class DerivedCollector
java.lang.Object
org.ow2.jasmine.probe.collectors.JCollector
org.ow2.jasmine.probe.collectors.derived.internal.DerivedCollector
- All Implemented Interfaces:
- JasmineCollector
public class DerivedCollector
- extends JCollector
Derived collector implementation.
- Author:
- durieuxp, danesa
| 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 |
DerivedCollector
public DerivedCollector(String probeId,
JasmineIndicator indic,
int period,
String op,
JasmineCollector source)
- Constructor
- Parameters:
probeId - probe identifierindic - indicator definition VOperiod - execution periodop - derived operationsource - collector that provides the initial values.
getLastResult
public JasmineIndicatorValue getLastResult()
throws JasmineCollectorException
- return the last result for this indicator
- Specified by:
getLastResult in interface JasmineCollector- Specified by:
getLastResult in class JCollector
- Returns:
- 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()
- Start polling
- Specified by:
startPolling in interface JasmineCollector- Specified by:
startPolling in class JCollector
Copyright © 2013 OW2 Consortium. All Rights Reserved.