public class MemSwapUtilizationDisplayFilter extends teetime.framework.AbstractConsumerStage<MemSwapUsageRecord>
MemSwapUsageRecord
instances and provides different views to visualize them.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEM_FREE |
static java.lang.String |
MEM_TOTAL |
static java.lang.String |
MEM_USED |
static java.lang.String |
SWAP_FREE |
static java.lang.String |
SWAP_TOTAL |
static java.lang.String |
SWAP_USED |
Constructor and Description |
---|
MemSwapUtilizationDisplayFilter(int numberOfEntries,
java.util.concurrent.TimeUnit recordsTimeUnit)
Creates a new instance of this filter.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(MemSwapUsageRecord record)
This method represents the input port receiving the incoming events.
|
PieChart |
getMemPieChart() |
PieChart |
getSwapPieChart() |
XYPlot |
getXYPlot() |
createInputPort, execute, getInputPort
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
public static final java.lang.String MEM_FREE
public static final java.lang.String MEM_TOTAL
public static final java.lang.String MEM_USED
public static final java.lang.String SWAP_FREE
public static final java.lang.String SWAP_TOTAL
public static final java.lang.String SWAP_USED
public MemSwapUtilizationDisplayFilter(int numberOfEntries, java.util.concurrent.TimeUnit recordsTimeUnit)
numberOfEntries
- Maximal number of entries in a XYPlotrecordsTimeUnit
- Time unit to interpret the timestamp of a record passed to the input portprotected void execute(MemSwapUsageRecord record)
execute
in class teetime.framework.AbstractConsumerStage<MemSwapUsageRecord>
record
- The record to display and relay.public XYPlot getXYPlot()
public PieChart getMemPieChart()
public PieChart getSwapPieChart()
Copyright 2020 Kieker Project, http://kieker-monitoring.net