Kieker 1.12

kieker.analysis.display
Class MeterGauge

java.lang.Object
  extended by kieker.analysis.display.AbstractDisplay
      extended by kieker.analysis.display.MeterGauge

public class MeterGauge
extends AbstractDisplay

This class is currently under development, mostly for test purposes, and not designed for productive deployment.

Since:
1.8
Author:
Nils Christian Ehmke

Constructor Summary
MeterGauge()
          Creates a new instance of this class.
 
Method Summary
 java.util.List<java.lang.String> getIntervalColors(java.lang.String key)
           
 java.util.List<java.lang.Number> getIntervals(java.lang.String key)
           
 java.util.Set<java.lang.String> getKeys()
           
 java.lang.Number getValue(java.lang.String key)
           
 void setIntervals(java.lang.String key, java.util.List<java.lang.Number> intervals, java.util.List<java.lang.String> colors)
          Sets the intervals for the colors of the meter gauge with the given name.
 void setValue(java.lang.String key, java.lang.Number value)
          Sets the value for the given meter gauge "series".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeterGauge

public MeterGauge()
Creates a new instance of this class.

Method Detail

setIntervals

public void setIntervals(java.lang.String key,
                         java.util.List<java.lang.Number> intervals,
                         java.util.List<java.lang.String> colors)
Sets the intervals for the colors of the meter gauge with the given name.

Parameters:
key - The name of the meter gauge "series".
intervals - The intervals for the colors.
colors - The colors of the intervals. It is assumed that the size of this list is the same as the one for the intervals. The colors are given as html string (e.g., FF000).

setValue

public void setValue(java.lang.String key,
                     java.lang.Number value)
Sets the value for the given meter gauge "series".

Parameters:
key - The name of the meter gauge "series".
value - The new value for the meter gauge.

getKeys

public java.util.Set<java.lang.String> getKeys()

getIntervals

public java.util.List<java.lang.Number> getIntervals(java.lang.String key)

getIntervalColors

public java.util.List<java.lang.String> getIntervalColors(java.lang.String key)

getValue

public java.lang.Number getValue(java.lang.String key)

Kieker 1.12

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