anon.infoservice
Class PerformanceEntry.PerformanceAttributeEntry

java.lang.Object
  extended by anon.infoservice.PerformanceEntry.PerformanceAttributeEntry
Enclosing class:
PerformanceEntry

public static class PerformanceEntry.PerformanceAttributeEntry
extends java.lang.Object

An entry that holds values of performance attributes.

Author:
Christian Banse

Method Summary
 int getAverageValue()
          Returns the average value.
 int getBound()
          Returns the bound value.
 long getDayTimestamp()
          Returns the day timestamp of the entry.
 int getErrors()
          Returns the amount of errors.
 int getMaxValue()
          Returns the max value.
 int getMinValue()
          Returns the min value.
 int getResets()
          Only useful for PACKETS attribute.
 double getStdDeviation()
          Returns the standard deviation.
 int getSuccess()
           
 int getUnknown()
          The amount of attempts that should have been made but were not.
 int getValueSize()
          Returns the amount of values and errors.
 void setErrors(int a_errors)
           
 void setResets(int a_resets)
           
 void setSuccess(int a_iSuccess)
           
 void setUnknown(int a_unknown)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAverageValue

public int getAverageValue()
Returns the average value.

Returns:
The average value.

getMinValue

public int getMinValue()
Returns the min value.

Returns:
The min value.

getMaxValue

public int getMaxValue()
Returns the max value.

Returns:
The max value.

getBound

public int getBound()
Returns the bound value.

Returns:
The bound value.

getStdDeviation

public double getStdDeviation()
Returns the standard deviation.

Returns:
The standard deviation.

setErrors

public void setErrors(int a_errors)

getErrors

public int getErrors()
Returns the amount of errors.

Returns:
The amounts of errors.

setResets

public void setResets(int a_resets)

getResets

public int getResets()
Only useful for PACKETS attribute. Tells how often the service has been reset/restarted.

Returns:
how often the service has been reset/restarted

getUnknown

public int getUnknown()
The amount of attempts that should have been made but were not.

Returns:

setUnknown

public void setUnknown(int a_unknown)

setSuccess

public void setSuccess(int a_iSuccess)

getSuccess

public int getSuccess()

getValueSize

public int getValueSize()
Returns the amount of values and errors.

Returns:
The amount of values and errors.

getDayTimestamp

public long getDayTimestamp()
Returns the day timestamp of the entry.

Returns:
The day timestamp.