|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.graph.Serie
public class Serie
Represents a series of data.
Field Summary | |
---|---|
private SerieConfig |
conf
The Series' configuration. |
private java.io.LineNumberReader |
in
Reader associated with the stream. |
private java.util.List<SerieListener> |
listeners
List of listeners. |
private java.util.logging.Logger |
logger
Logger. |
private java.io.PipedOutputStream |
source
Source stream. |
Constructor Summary | |
---|---|
Serie(SerieConfig conf)
Creates the series based on a configuration. |
Method Summary | |
---|---|
void |
addSerieListener(SerieListener listener)
Adds a series listener. |
SerieConfig |
getConfig()
|
java.io.PipedOutputStream |
getSource()
|
private long |
parseTime(java.lang.String time)
Parses a time string. |
void |
run()
Implementation of inherited method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private SerieConfig conf
private java.io.PipedOutputStream source
private java.io.LineNumberReader in
private java.util.List<SerieListener> listeners
private java.util.logging.Logger logger
Constructor Detail |
---|
public Serie(SerieConfig conf) throws java.io.IOException
conf
- Configuration.
java.io.IOException
- If the associated pipe cannot be created.Method Detail |
---|
public java.io.PipedOutputStream getSource()
public SerieConfig getConfig()
public void addSerieListener(SerieListener listener)
listener
- Listener to add.public void run()
run
in interface java.lang.Runnable
Thread.run()
private long parseTime(java.lang.String time) throws java.text.ParseException
time
- Time string.
java.text.ParseException
- If format doesn't match input.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |