public final class Pipe
extends java.lang.Object
Constructor and Description |
---|
Pipe(java.lang.String name)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This method closes the pipe and notifies the pipe reader about this event as well.
|
java.lang.String |
getName()
Delivers the name of this pipe.
|
void |
setPipeReader(IPipeReader pipeReader)
Sets the pipe reader to a new value.
|
boolean |
writeMonitoringRecord(IMonitoringRecord monitoringRecord)
Passes the monitoring record to the registered pipe reader.
|
public Pipe(java.lang.String name)
name
- The name of the pipe.public void setPipeReader(IPipeReader pipeReader)
pipeReader
- The new pipe reader.public java.lang.String getName()
public boolean writeMonitoringRecord(IMonitoringRecord monitoringRecord)
monitoringRecord
- The monitoring record to write into the pipe.public void close()
Copyright 2020 Kieker Project, http://kieker-monitoring.net