Kieker 1.9

kieker.analysis.plugin.filter.sink
Class MemSwapUtilizationDisplayFilter

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.sink.MemSwapUtilizationDisplayFilter
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin

public class MemSwapUtilizationDisplayFilter
extends AbstractFilterPlugin

This is a filter which accepts MemSwapUsageRecord instances and provides different views to visualize them.

Since:
1.8
Author:
Bjoern Weissenfels, Nils Christian Ehmke

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static String CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES
          The name of the property determining the number of entries per series in the plot.
static String CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES
          The default value for the number of entries per series in the plot (100).
static String INPUT_PORT_NAME_EVENTS
          The name of the input port receiving incoming events.
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME
 
Constructor Summary
MemSwapUtilizationDisplayFilter(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.
 PieChart getMemPieChart()
           
 PieChart getSwapPieChart()
           
 XYPlot getXYPlot()
           
 void input(MemSwapUsageRecord record)
          This method represents the input port receiving the incoming events.
 
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_EVENTS

public static final String INPUT_PORT_NAME_EVENTS
The name of the input port receiving incoming events.

See Also:
Constant Field Values

CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES

public static final String CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES
The name of the property determining the number of entries per series in the plot.

See Also:
Constant Field Values

CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES

public static final String CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES
The default value for the number of entries per series in the plot (100).

See Also:
Constant Field Values
Constructor Detail

MemSwapUtilizationDisplayFilter

public MemSwapUtilizationDisplayFilter(Configuration configuration,
                                       IProjectContext projectContext)
Creates a new instance of this class using the given parameters.

Parameters:
configuration - The configuration for this filter.
projectContext - The project context for this filter.
Method Detail

input

public void input(MemSwapUsageRecord record)
This method represents the input port receiving the incoming events.

Parameters:
record - The record to display and relay.

getXYPlot

public XYPlot getXYPlot()

getMemPieChart

public PieChart getMemPieChart()

getSwapPieChart

public PieChart getSwapPieChart()

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.

Kieker 1.9

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