org.ow2.jasmine.probe.collectors.slope.internal
Class SlopeCollectorService
java.lang.Object
org.ow2.jasmine.probe.collectors.JCollectorService
org.ow2.jasmine.probe.collectors.slope.internal.SlopeCollectorService
- All Implemented Interfaces:
- org.ow2.jasmine.probe.collector.JasmineCollectorService
public class SlopeCollectorService
- extends org.ow2.jasmine.probe.collectors.JCollectorService
- Author:
- durieuxp
| Fields inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
collectorInfo, logger, properties |
|
Method Summary |
org.ow2.jasmine.probe.collector.JasmineCollector |
getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
org.ow2.jasmine.probe.JasmineProbe probe)
Get a Collector for this indicator and this probe. |
List<String> |
getDependantIndicators(org.ow2.jasmine.probe.JasmineIndicator indic)
return the List of indicators used by this indicator. |
void |
start()
|
void |
stop()
|
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
addCollector, getCollector, getCollectorInfo, getDependantTargets, getPropertiesInfo, getType, removeCollectors, removeTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHORT_DESC
public static final String SHORT_DESC
- Description
- See Also:
- Constant Field Values
LONG_DESC
public static final String LONG_DESC
- See Also:
- Constant Field Values
SOURCE_DESC
public static final String SOURCE_DESC
- Sources
- See Also:
- Constant Field Values
SOURCE_MIN
public static final int SOURCE_MIN
- See Also:
- Constant Field Values
SOURCE_MAX
public static final int SOURCE_MAX
- See Also:
- Constant Field Values
SlopeCollectorService
public SlopeCollectorService()
start
public void start()
stop
public void stop()
getCollector
public org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
org.ow2.jasmine.probe.JasmineProbe probe)
throws org.ow2.jasmine.probe.collector.JasmineCollectorException
- Get a Collector for this indicator and this probe.
First parse indicator properties, and get a collector for the numerator and denominator indicators.
The goal is to 'notify' these collectors that an additional 'consumer' collector exists for them.
This allows for collectors that manage a cache of values to update cache size.
- Specified by:
getCollector in interface org.ow2.jasmine.probe.collector.JasmineCollectorService- Specified by:
getCollector in class org.ow2.jasmine.probe.collectors.JCollectorService
- Parameters:
indicator - the indicator for which values are collected by the collectorprobe - the probe using the indicator
- Returns:
- the JasmineCollector instance created to collect values for the given indicator
within the given probe.
- Throws:
org.ow2.jasmine.probe.collector.JasmineCollectorException - The collector could not be created.
getDependantIndicators
public List<String> getDependantIndicators(org.ow2.jasmine.probe.JasmineIndicator indic)
- return the List of indicators used by this indicator.
- Specified by:
getDependantIndicators in interface org.ow2.jasmine.probe.collector.JasmineCollectorService- Overrides:
getDependantIndicators in class org.ow2.jasmine.probe.collectors.JCollectorService
- Parameters:
indic - JasmineIndicator
- Returns:
Copyright © 2013 OW2 Consortium. All Rights Reserved.