org.ow2.jasmine.monitoring.mbeancmd.graph
Class Serie

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.graph.Serie
All Implemented Interfaces:
java.lang.Runnable

public class Serie
extends java.lang.Object
implements java.lang.Runnable

Represents a series of data.


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()
           
 void run()
          Implementation of inherited method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serie

public Serie(SerieConfig conf)
      throws java.io.IOException
Creates the series based on a configuration.

Parameters:
conf - Configuration.
Throws:
java.io.IOException - If the associated pipe cannot be created.
Method Detail

getSource

public java.io.PipedOutputStream getSource()
Returns:
The source pipe.

getConfig

public SerieConfig getConfig()
Returns:
The Series configuration.

addSerieListener

public void addSerieListener(SerieListener listener)
Adds a series listener.

Parameters:
listener - Listener to add.

run

public void run()
Implementation of inherited method.

Specified by:
run in interface java.lang.Runnable
See Also:
Thread.run()


Copyright © 2010 OW2 Consortium. All Rights Reserved.