mss.ea.stat
Class AbstractBufferedCollector
java.lang.Object
|
+--mss.ea.stat.AbstractBufferedCollector
- All Implemented Interfaces:
- DataCollector
- public abstract class AbstractBufferedCollector
- extends java.lang.Object
- implements DataCollector
Abstract implementation of a buffered data collector.
- Since:
- 0.1
- Version:
- 0.1 (03-09-2001)
- Author:
- Andreas Rummler
Method Summary |
void |
clearBuffer()
Clears the internal data buffer. |
abstract void |
collect()
Collects data. |
java.lang.Object |
getData()
Returns the internal data buffer. |
boolean |
isBuffered()
Indicates that this collector is buffered. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBufferedCollector
public AbstractBufferedCollector()
clearBuffer
public void clearBuffer()
- Clears the internal data buffer.
getData
public java.lang.Object getData()
- Returns the internal data buffer.
- Specified by:
getData
in interface DataCollector
- Returns:
- data element for this collector
collect
public abstract void collect()
- Collects data.
- Specified by:
collect
in interface DataCollector
isBuffered
public boolean isBuffered()
- Indicates that this collector is buffered.
- Specified by:
isBuffered
in interface DataCollector
- Returns:
- always true
Copyright © 2000-2001 Technical University of Ilmenau, Department ESS