org.ow2.jasmine.probe.collectors.lewys.internal
Class LewysCollectorService
java.lang.Object
org.ow2.jasmine.probe.collectors.JCollectorService
org.ow2.jasmine.probe.collectors.lewys.internal.LewysCollectorService
- All Implemented Interfaces:
- org.ow2.jasmine.probe.collector.JasmineCollectorService
public class LewysCollectorService
- extends org.ow2.jasmine.probe.collectors.JCollectorService
This CollectorService implements the "lewys" collector.
This is just a wrapper on a LeWYS probe.
It should be able to treat any lewys command, and any resource.
- Author:
- durieuxp
| Fields inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
collectorList, logger, properties |
|
Method Summary |
org.ow2.jasmine.probe.collector.JasmineCollector |
getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
int period,
java.lang.String probeid)
Create a Collector for this JasmineIndicator |
void |
start()
|
void |
stop()
|
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollectorService |
getDependantIndicators, getPropertiesInfo, removeCollectors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_CMD
public static final java.lang.String PROP_CMD
- The name of the properties of a Lewys indicator.
- See Also:
- Constant Field Values
PROP_RESOURCES
public static final java.lang.String PROP_RESOURCES
- See Also:
- Constant Field Values
osType
protected int osType
- Supported OS
LINUX_2_4
public static final int LINUX_2_4
- See Also:
- Constant Field Values
LINUX_2_6
public static final int LINUX_2_6
- See Also:
- Constant Field Values
WINDOWS
public static final int WINDOWS
- See Also:
- Constant Field Values
MAC_OS_X
public static final int MAC_OS_X
- See Also:
- Constant Field Values
LewysCollectorService
public LewysCollectorService()
start
public void start()
stop
public void stop()
getCollector
public org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
int period,
java.lang.String probeid)
throws org.ow2.jasmine.probe.collector.JasmineCollectorException
- Create a Collector for this JasmineIndicator
- Specified by:
getCollector in interface org.ow2.jasmine.probe.collector.JasmineCollectorService- Specified by:
getCollector in class org.ow2.jasmine.probe.collectors.JCollectorService
- Parameters:
indicator - period - in secondprobeid -
- Returns:
- the Collector
- Throws:
org.ow2.jasmine.probe.collector.JasmineCollectorException - operation failed
Copyright © 2011 OW2 Consortium. All Rights Reserved.