public class PrintStatisticsElement extends RecordingStrategiesElement
| Modifier and Type | Field and Description |
|---|---|
private ProcessData |
data
Stores the
ProcessData. |
| Constructor and Description |
|---|
PrintStatisticsElement()
Creates a new empty instance.
|
PrintStatisticsElement(ProcessData data)
Creates a new instance with the given parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
If a pool is used this method is for releasing the element from the pool.
|
int |
getIdentification()
Returns the unambiguous identification of the element.
|
void |
process(RecorderStrategy strategy)
Hands the information of the element to the
RecorderStrategy. |
void |
read(java.io.DataInputStream in)
Reads this instance from the given input stream.
|
void |
send(java.io.DataOutputStream out)
Writes this instance to the given output stream.
|
releaseprivate ProcessData data
ProcessData.public PrintStatisticsElement()
public PrintStatisticsElement(ProcessData data)
data - the ProcessDatapublic void send(java.io.DataOutputStream out)
throws java.io.IOException
send in class RecordingStrategiesElementout - the output streamjava.io.IOException - in case of any I/O error or problempublic void read(java.io.DataInputStream in)
throws java.io.IOException
read in class RecordingStrategiesElementin - the input streamjava.io.IOException - in case of any I/O error or problempublic int getIdentification()
getIdentification in class RecordingStrategiesElementpublic void process(RecorderStrategy strategy)
RecorderStrategy.process in class RecordingStrategiesElementstrategy - the RecorderStrategypublic void clear()
clear in class RecordingStrategiesElement