Kieker 1.9

kieker.analysis.plugin.filter.forward
Class AnalysisThroughputFilter

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      extended by kieker.analysis.plugin.AbstractPlugin
          extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
              extended by kieker.analysis.plugin.filter.forward.AnalysisThroughputFilter
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin

public class AnalysisThroughputFilter
extends AbstractFilterPlugin

An instance of this class computes the throughput in terms of the number of objects received per time unit.

Since:
1.8
Author:
Jan Waller

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static String INPUT_PORT_NAME_OBJECTS
          The name of the input port receiving other objects.
static String INPUT_PORT_NAME_TIME
          The name of the input port receiving timestamps.
static String OUTPUT_PORT_NAME_RELAYED_OBJECTS
          The name of the output port delivering the received objects.
static String OUTPUT_PORT_NAME_THROUGHPUT
          The name of the output port delivering the received objects.
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME
 
Constructor Summary
AnalysisThroughputFilter(Configuration configuration, IProjectContext projectContext)
           
 
Method Summary
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 void inputObjects(Object object)
           
 void inputTime(Long timestamp)
           
 PlainText plainTextDisplay()
           
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
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

INPUT_PORT_NAME_OBJECTS

public static final String INPUT_PORT_NAME_OBJECTS
The name of the input port receiving other objects.

See Also:
Constant Field Values

INPUT_PORT_NAME_TIME

public static final String INPUT_PORT_NAME_TIME
The name of the input port receiving timestamps.

See Also:
Constant Field Values

OUTPUT_PORT_NAME_RELAYED_OBJECTS

public static final String OUTPUT_PORT_NAME_RELAYED_OBJECTS
The name of the output port delivering the received objects.

See Also:
Constant Field Values

OUTPUT_PORT_NAME_THROUGHPUT

public static final String OUTPUT_PORT_NAME_THROUGHPUT
The name of the output port delivering the received objects.

See Also:
Constant Field Values
Constructor Detail

AnalysisThroughputFilter

public AnalysisThroughputFilter(Configuration configuration,
                                IProjectContext projectContext)
Method Detail

getCurrentConfiguration

public Configuration getCurrentConfiguration()
Description copied from class: AbstractAnalysisComponent
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.

Specified by:
getCurrentConfiguration in interface IAnalysisComponent
Specified by:
getCurrentConfiguration in interface IPlugin
Specified by:
getCurrentConfiguration in class AbstractAnalysisComponent
Returns:
A completely filled configuration object.

inputObjects

public final void inputObjects(Object object)

inputTime

public final void inputTime(Long timestamp)

plainTextDisplay

public final PlainText plainTextDisplay()

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net