public class CPUUtilizationDisplayFilter extends teetime.framework.AbstractConsumerStage<CPUUtilizationRecord>
CPUUtilizationRecord instances and provides different views (XYPlot or MeterGauge) to visualize them.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IDLE |
static java.lang.String |
IRQ |
static java.lang.String |
NICE |
static java.lang.String |
SYSTEM |
static java.lang.String |
TOTAL_UTILIZATION |
static java.lang.String |
USER |
| Constructor and Description |
|---|
CPUUtilizationDisplayFilter(int numberOfEntries,
java.lang.Number[] warningIntervals,
java.util.concurrent.TimeUnit recordsTimeUnit)
Creates a new instance of this filter.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(CPUUtilizationRecord record) |
MeterGauge |
getMeterGauge() |
XYPlot |
getXYPlot() |
createInputPort, execute, getInputPortabort, 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, workCompletedpublic static final java.lang.String TOTAL_UTILIZATION
public static final java.lang.String IDLE
public static final java.lang.String IRQ
public static final java.lang.String NICE
public static final java.lang.String SYSTEM
public static final java.lang.String USER
public CPUUtilizationDisplayFilter(int numberOfEntries,
java.lang.Number[] warningIntervals,
java.util.concurrent.TimeUnit recordsTimeUnit)
numberOfEntries - Maximal number of entries in a XYPlotwarningIntervals - The intervals for the colors displayed in a XYPlotrecordsTimeUnit - Time unit to interpret the timestamp of a record passed to the input portprotected void execute(CPUUtilizationRecord record)
execute in class teetime.framework.AbstractConsumerStage<CPUUtilizationRecord>public MeterGauge getMeterGauge()
public XYPlot getXYPlot()
Copyright 2020 Kieker Project, http://kieker-monitoring.net