|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.probe.collectors.df.internal.DfCollectorService
public class DfCollectorService
This CollectorService implements the "df" unix command. Works only on linux like system, since the df command must exist.
| Field Summary | |
|---|---|
protected DiskFree |
df
DiskFree thread collector In this implementation, we have only one thread. |
protected org.ow2.util.log.Log |
logger
Logger. |
static java.lang.String |
PROP_DISK
The name of the property allowing to get disk name. |
| Constructor Summary | |
|---|---|
DfCollectorService()
|
|
| 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. |
java.util.Collection<org.ow2.jasmine.probe.JasminePropertyInfo> |
getPropertiesInfo()
Retrieve the description of all specific properties hidden in JasmineCollector Return a Collection of all properties with their description |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_DISK
protected org.ow2.util.log.Log logger
protected DiskFree df
| Constructor Detail |
|---|
public DfCollectorService()
| Method Detail |
|---|
public void start()
public void stop()
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
getCollector in interface org.ow2.jasmine.probe.collector.JasmineCollectorServiceindicator - contains the indicator's parameters.period - in secondprobeid - the name of the probe that gets the collector
org.ow2.jasmine.probe.collector.JasmineCollectorException - operation failedpublic java.util.Collection<org.ow2.jasmine.probe.JasminePropertyInfo> getPropertiesInfo()
getPropertiesInfo in interface org.ow2.jasmine.probe.collector.JasmineCollectorService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||