public class MemSwapUtilizationDisplayFilter extends AbstractFilterPlugin
MemSwapUsageRecord
instances and provides different views to visualize them.IPlugin.PluginInputPortReference, IPlugin.STATE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES
The name of the property determining the number of entries per series in the plot.
|
static java.lang.String |
CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES
The default value for the number of entries per series in the plot (100).
|
static java.lang.String |
INPUT_PORT_NAME_EVENTS
The name of the input port receiving incoming events.
|
CONFIG_NAME, configuration, log, LOG, projectContext, recordsTimeUnitFromProjectContext
Constructor and Description |
---|
MemSwapUtilizationDisplayFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
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.
|
init, terminate
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
public static final java.lang.String INPUT_PORT_NAME_EVENTS
public static final java.lang.String CONFIG_PROPERTY_NAME_NUMBER_OF_ENTRIES
public static final java.lang.String CONFIG_PROPERTY_VALUE_NUMBER_OF_ENTRIES
public MemSwapUtilizationDisplayFilter(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this filter.projectContext
- The project context for this filter.public void input(MemSwapUsageRecord record)
record
- The record to display and relay.public XYPlot getXYPlot()
public PieChart getMemPieChart()
public PieChart getSwapPieChart()
public Configuration getCurrentConfiguration()
AbstractAnalysisComponent
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
Copyright 2017 Kieker Project, http://kieker-monitoring.net