|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.analysis.analysisComponent.AbstractAnalysisComponent kieker.analysis.plugin.AbstractPlugin kieker.analysis.plugin.filter.AbstractFilterPlugin kieker.analysis.plugin.filter.flow.TraceAggregationFilter
public class TraceAggregationFilter
This filter collects incoming traces for a specified amount of time. Any traces representing the same series of events will be used to calculate statistical informations like the average runtime of this kind of trace. Only one specimen of these traces containing this information will be forwarded from this filter. Statistical outliers regarding the runtime of the trace will be treated special and therefore send out as they are and will not be mixed with others.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin |
---|
IPlugin.PluginInputPortReference, IPlugin.STATE |
Field Summary | |
---|---|
static String |
CONFIG_PROPERTY_NAME_MAX_COLLECTION_DURATION
The name of the property determining the maximal trace timeout. |
static String |
CONFIG_PROPERTY_NAME_TIMEUNIT
The name of the property determining the time unit. |
static String |
CONFIG_PROPERTY_VALUE_MAX_COLLECTION_DURATION
The default value of the property determining the maximal trace timeout. |
static String |
CONFIG_PROPERTY_VALUE_TIMEUNIT
The default value of the time unit property (nanoseconds). |
static String |
INPUT_PORT_NAME_TIME_EVENT
Clock input for timeout handling. |
static String |
INPUT_PORT_NAME_TRACES
The name of the input port receiving the trace records. |
static String |
OUTPUT_PORT_NAME_TRACES
The name of the output port delivering the valid traces. |
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
CONFIG_NAME |
Constructor Summary | |
---|---|
TraceAggregationFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters. |
Method Summary | |
---|---|
Configuration |
getCurrentConfiguration()
This method should deliver a Configuration object 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. |
void |
newEvent(Long timestamp)
This method is the input port for the timeout. |
void |
newEvent(TraceEventRecords traceEventRecords)
This method is the input port for incoming traces. |
void |
terminate(boolean error)
Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the method AnalysisController.terminate(boolean) instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers. |
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin |
---|
init |
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
---|
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start |
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
getName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
---|
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
Field Detail |
---|
public static final String OUTPUT_PORT_NAME_TRACES
public static final String INPUT_PORT_NAME_TRACES
public static final String CONFIG_PROPERTY_NAME_TIMEUNIT
public static final String INPUT_PORT_NAME_TIME_EVENT
public static final String CONFIG_PROPERTY_VALUE_TIMEUNIT
public static final String CONFIG_PROPERTY_NAME_MAX_COLLECTION_DURATION
public static final String CONFIG_PROPERTY_VALUE_MAX_COLLECTION_DURATION
Constructor Detail |
---|
public TraceAggregationFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component.Method Detail |
---|
public void newEvent(Long timestamp)
timestamp
- The timestamppublic void newEvent(TraceEventRecords traceEventRecords)
traceEventRecords
- incoming TraceEventRecordspublic void terminate(boolean error)
AnalysisController.terminate(boolean)
instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers.
terminate
in interface IPlugin
terminate
in class AbstractFilterPlugin
error
- Determines whether the plugin is terminated due to an error or not.public Configuration getCurrentConfiguration()
Configuration
object 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.
getCurrentConfiguration
in interface IAnalysisComponent
getCurrentConfiguration
in interface IPlugin
getCurrentConfiguration
in class AbstractAnalysisComponent
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |