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:
kieker.analysis.analysisComponent.IAnalysisComponent,kieker.analysis.plugin.filter.IFilterPlugin,kieker.analysis.plugin.IPlugin
@Deprecated
public class CurrentTimeEventGenerationFilter
extends kieker.analysis.plugin.filter.AbstractFilterPlugin
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
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIG_PROPERTY_NAME_TIME_RESOLUTIONDeprecated.This is the name of the property to determine the time resolution.static java.lang.StringCONFIG_PROPERTY_NAME_TIMEUNITDeprecated.Property name for the configuration of the timeunit.static java.lang.StringCONFIG_PROPERTY_VALUE_TIMEUNITDeprecated.static java.lang.StringINPUT_PORT_NAME_NEW_RECORDDeprecated.This is the name of the input port receiving new records.static java.lang.StringINPUT_PORT_NAME_NEW_TIMESTAMPDeprecated.This is the name of the input port receiving new timestamps.static java.lang.StringOUTPUT_PORT_NAME_CURRENT_TIME_RECORDDeprecated.This is the name of the output port delivering the timestamp records.static java.lang.StringOUTPUT_PORT_NAME_CURRENT_TIME_VALUEDeprecated.This is the name of the output port delivering the timestamps. -
Constructor Summary
Constructors Constructor Description CurrentTimeEventGenerationFilter(kieker.common.configuration.Configuration configuration, kieker.analysis.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 Type Method Description kieker.common.configuration.ConfigurationgetCurrentConfiguration()Deprecated.voidinputRecord(kieker.common.record.IMonitoringRecord record)Deprecated.This method represents the input port for new records.voidinputTimestamp(java.lang.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.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
-
Field Details
-
INPUT_PORT_NAME_NEW_TIMESTAMP
public static final java.lang.String INPUT_PORT_NAME_NEW_TIMESTAMPDeprecated.This is the name of the input port receiving new timestamps.- See Also:
- Constant Field Values
-
INPUT_PORT_NAME_NEW_RECORD
public static final java.lang.String INPUT_PORT_NAME_NEW_RECORDDeprecated.This is the name of the input port receiving new records.- See Also:
- Constant Field Values
-
OUTPUT_PORT_NAME_CURRENT_TIME_RECORD
public static final java.lang.String OUTPUT_PORT_NAME_CURRENT_TIME_RECORDDeprecated.This is the name of the output port delivering the timestamp records.- See Also:
- Constant Field Values
-
OUTPUT_PORT_NAME_CURRENT_TIME_VALUE
public static final java.lang.String OUTPUT_PORT_NAME_CURRENT_TIME_VALUEDeprecated.This is the name of the output port delivering the timestamps.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_TIME_RESOLUTION
public static final java.lang.String CONFIG_PROPERTY_NAME_TIME_RESOLUTIONDeprecated.This is the name of the property to determine the time resolution.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_NAME_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_NAME_TIMEUNITDeprecated.Property name for the configuration of the timeunit.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_VALUE_TIMEUNIT
public static final java.lang.String CONFIG_PROPERTY_VALUE_TIMEUNITDeprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
CurrentTimeEventGenerationFilter
public CurrentTimeEventGenerationFilter(kieker.common.configuration.Configuration configuration, kieker.analysis.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
public void inputRecord(kieker.common.record.IMonitoringRecord record)Deprecated.This method represents the input port for new records.- Parameters:
record- The next record.
-
inputTimestamp
public void inputTimestamp(java.lang.Long timestamp)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
public kieker.common.configuration.Configuration getCurrentConfiguration()Deprecated.- Specified by:
getCurrentConfigurationin interfacekieker.analysis.analysisComponent.IAnalysisComponent- Specified by:
getCurrentConfigurationin interfacekieker.analysis.plugin.IPlugin- Specified by:
getCurrentConfigurationin classkieker.analysis.analysisComponent.AbstractAnalysisComponent
-