|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.audit.FileCollector
public class FileCollector
| Constructor Summary | |
|---|---|
FileCollector(File file)
Constructor from a file |
|
FileCollector(InputStream in)
Constructor from an input stream (e.g. |
|
| Method Summary | |
|---|---|
void |
enableStatistics()
Enable statistics. |
HashMap<String,Metric> |
getBaseline()
|
LinkedList<Metric> |
getPoll()
|
String |
getSeparator()
|
LinkedList<Metric> |
getStats(String attr)
Builds a LinkedList of metrics from the computed statistics Each metrics as a list of attributes derived from attr through the scan - average: mean value for the full scan - averageNonZero: mean value, considering only non null values - minNotzero: the minimal not null value - max: maximum value. |
void |
scan()
Scans the file or input stream. |
void |
setAttributes(String[] attributes)
Set the attributes to scan |
void |
setSeparator(String separator)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileCollector(InputStream in)
in -
public FileCollector(File file)
throws FileNotFoundException
file -
FileNotFoundException| Method Detail |
|---|
public void scan()
public LinkedList<Metric> getPoll()
public HashMap<String,Metric> getBaseline()
public LinkedList<Metric> getStats(String attr)
attr -
public void setAttributes(String[] attributes)
attributes - public String getSeparator()
public void setSeparator(String separator)
separator - the separator to setpublic void enableStatistics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||