Class CurrentTimeEventGenerationFilter
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.plugin.AbstractPlugin
kieker.analysis.plugin.filter.AbstractFilterPlugin
kieker.tools.currentTimeEventGenerator.CurrentTimeEventGenerationFilter
- All Implemented Interfaces:
IAnalysisComponent,IFilterPlugin,IPlugin
Deprecated.
1.15 ported to teetime
Generates time events with a given resolution based on the timestamps of
incoming
IMonitoringRecords.
- The first record received via
inputTimestamp(Long)immediately leads to a newTimestampRecordwith the given timestamp. - The timestamp of the first record is stored as
firstTimestampand future events are generated atfirstTimestamp+ i *timerResolution. - Future
IMonitoringRecordmay lead to futureTimestampRecordas follows:- A newly incoming
IMonitoringRecordwith logging timestamp tstamp leads to the new timer events satisfyingfirstTimestamp+ i *timerResolution< tstamp.
- A newly incoming
- Since:
- 1.3
- Author:
- Andre van Hoorn
-
Nested Class Summary
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.This is the name of the property to determine the time resolution.static final StringDeprecated.Property name for the configuration of the timeunit.static final StringDeprecated.static final StringDeprecated.This is the name of the input port receiving new records.static final StringDeprecated.This is the name of the input port receiving new timestamps.static final StringDeprecated.This is the name of the output port delivering the timestamp records.static final StringDeprecated.This is the name of the output port delivering the timestamps.Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, logger, projectContext, recordsTimeUnitFromProjectContext -
Constructor Summary
ConstructorsConstructorDescriptionCurrentTimeEventGenerationFilter(Configuration configuration, IProjectContext projectContext) Deprecated.Creates an event generator which generates time events with the given resolution in timeunits via the output portOUTPUT_PORT_NAME_CURRENT_TIME_RECORD. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.voidinputRecord(IMonitoringRecord record) Deprecated.This method represents the input port for new records.voidinputTimestamp(Long timestamp) Deprecated.Evaluates the given timestamp internal current time which may lead to newly generated events viaOUTPUT_PORT_NAME_CURRENT_TIME_RECORD.Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminateMethods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, startMethods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
-
Field Details
-
INPUT_PORT_NAME_NEW_TIMESTAMP
Deprecated.This is the name of the input port receiving new timestamps.- See Also:
-
INPUT_PORT_NAME_NEW_RECORD
Deprecated.This is the name of the input port receiving new records.- See Also:
-
OUTPUT_PORT_NAME_CURRENT_TIME_RECORD
Deprecated.This is the name of the output port delivering the timestamp records.- See Also:
-
OUTPUT_PORT_NAME_CURRENT_TIME_VALUE
Deprecated.This is the name of the output port delivering the timestamps.- See Also:
-
CONFIG_PROPERTY_NAME_TIME_RESOLUTION
Deprecated.This is the name of the property to determine the time resolution.- See Also:
-
CONFIG_PROPERTY_NAME_TIMEUNIT
Deprecated.Property name for the configuration of the timeunit.- See Also:
-
CONFIG_PROPERTY_VALUE_TIMEUNIT
Deprecated.- See Also:
-
-
Constructor Details
-
CurrentTimeEventGenerationFilter
public CurrentTimeEventGenerationFilter(Configuration configuration, IProjectContext projectContext) Deprecated.Creates an event generator which generates time events with the given resolution in timeunits via the output portOUTPUT_PORT_NAME_CURRENT_TIME_RECORD.- Parameters:
configuration- The configuration to be used for this plugin.projectContext- The project context to be used for this plugin.
-
-
Method Details
-
inputRecord
Deprecated.This method represents the input port for new records.- Parameters:
record- The next record.
-
inputTimestamp
Deprecated.Evaluates the given timestamp internal current time which may lead to newly generated events viaOUTPUT_PORT_NAME_CURRENT_TIME_RECORD.- Parameters:
timestamp- The next timestamp.
-
getCurrentConfiguration
Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance. In other words: The constructor should be able to use the given object to initialize a new instance of this class with the same intern properties.- Specified by:
getCurrentConfigurationin interfaceIAnalysisComponent- Specified by:
getCurrentConfigurationin interfaceIPlugin- Specified by:
getCurrentConfigurationin classAbstractAnalysisComponent- Returns:
- A completely filled configuration object.
-