|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jasmine.probe.collectors.JCollector
org.ow2.jasmine.probe.collectors.lewys.internal.LewysCollector
public class LewysCollector
| Field Summary | |
|---|---|
protected String |
cmd
Lewys cmd: network, disk, memory, ... |
protected org.objectweb.lewys.probe.Probe |
probe
Lewys probe used to collect results |
protected String[] |
resources
String Array of Resource names |
protected int[] |
rids
resourceIds |
| Fields inherited from class org.ow2.jasmine.probe.collectors.JCollector |
|---|
hostName, indicator, logger, period, probeId, probeManager |
| Constructor Summary | |
|---|---|
LewysCollector(String name,
JasmineIndicator indicator,
int period,
int ostype)
Constructor |
|
| Method Summary | |
|---|---|
JasmineIndicatorValue |
getLastResult()
Retrieve the last results for this indicator |
void |
startPolling()
Start polling |
void |
stopPolling()
Stop polling |
| Methods inherited from class org.ow2.jasmine.probe.collectors.JCollector |
|---|
addJsr, addLongJsr, addLongValues, addValues, averageJsr, diffJsr, diffLongValues, diffValues, divideJsr, divideLongValues, divideValues, getDomainName, getIndicator, getIndicatorName, 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 |
| Field Detail |
|---|
protected String cmd
protected org.objectweb.lewys.probe.Probe probe
protected String[] resources
protected int[] rids
| Constructor Detail |
|---|
public LewysCollector(String name,
JasmineIndicator indicator,
int period,
int ostype)
name - Collector nameindicator - definitionperiod - in secondsostype - Type of the underlying operating system| Method Detail |
|---|
public JasmineIndicatorValue getLastResult()
throws JasmineCollectorException
getLastResult in interface JasmineCollectorgetLastResult in class JCollectorJasmineCollectorExceptionpublic void stopPolling()
stopPolling in interface JasmineCollectorstopPolling in class JCollectorpublic void startPolling()
startPolling in interface JasmineCollectorstartPolling in class JCollector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||