public class TimestampFilter
extends teetime.framework.CompositeStage
IMonitoringRecord
objects based on their given timestamps.
This class has several specialized internal filters to distinguish different timestamps for different record types. It has one input port and two output ports.
If the received record is within the defined timestamps, the object is delivered unmodified to the recordsWithinTimePeriodOutputPort, otherwise to the
recordsOutsideTimePeriodOutputPort.Constructor and Description |
---|
TimestampFilter(long ignoreBeforeTimestamp,
long ignoreAfterTimestamp)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
teetime.framework.InputPort<IMonitoringRecord> |
getMonitoringRecordsCombinedInputPort()
Returns the input port for the records.
|
teetime.framework.OutputPort<IMonitoringRecord> |
getRecordsOutsideTimePeriodOutputPort()
Returns the output port for the records whose timestamps are outside the defined time period.
|
teetime.framework.OutputPort<IMonitoringRecord> |
getRecordsWithinTimePeriodOutputPort()
Returns the output port for the records whose timestamps are within the defined time period.
|
public TimestampFilter(long ignoreBeforeTimestamp, long ignoreAfterTimestamp)
ignoreBeforeTimestamp
- The lower limit for the time stamps of the records.ignoreAfterTimestamp
- The upper limit for the time stamps of the records.public teetime.framework.InputPort<IMonitoringRecord> getMonitoringRecordsCombinedInputPort()
public teetime.framework.OutputPort<IMonitoringRecord> getRecordsWithinTimePeriodOutputPort()
public teetime.framework.OutputPort<IMonitoringRecord> getRecordsOutsideTimePeriodOutputPort()
Copyright 2020 Kieker Project, http://kieker-monitoring.net