|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.infoservice.PerformanceEntry.PerformanceAttributeEntry
public static class PerformanceEntry.PerformanceAttributeEntry
An entry that holds values of performance attributes.
Field Summary | |
---|---|
private int |
m_attribute
The performance attribute. |
private boolean |
m_bPassive
True, if the object is created by the info service or the JAP client. |
private int |
m_iErrors
The amount of errors occurred. |
private long |
m_iLastTimestamp
|
private int |
m_iLastValue
The last value added. |
private int |
m_iMinValue
The min value. |
private int |
m_iResets
|
private int |
m_iSuccess
|
private int |
m_iUnknown
|
private long |
m_lastUpdate
The time of the last update. |
private int |
m_lAverageValue
The average value. |
private int |
m_lBound
The bound value. |
private int |
m_lMaxValue
The max value. |
private double |
m_lStdDeviation
The standard deviation. |
private java.util.Hashtable |
m_Values
The values. |
Constructor Summary | |
---|---|
private |
PerformanceEntry.PerformanceAttributeEntry(int a_attribute,
boolean a_bPassive)
|
Method Summary | |
---|---|
private void |
addValue(long a_lTimeStamp,
int a_iValue,
PerformanceEntry.PerformanceAttributeEntry a_previousEntry)
Adds a value to the entry. |
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 |
Field Detail |
---|
private int m_iLastValue
private long m_iLastTimestamp
private int m_lMaxValue
private int m_iMinValue
private int m_lAverageValue
private int m_lBound
private double m_lStdDeviation
private long m_lastUpdate
private java.util.Hashtable m_Values
private int m_iErrors
private int m_iResets
private int m_iUnknown
private int m_iSuccess
private int m_attribute
private boolean m_bPassive
Constructor Detail |
---|
private PerformanceEntry.PerformanceAttributeEntry(int a_attribute, boolean a_bPassive)
Method Detail |
---|
private void addValue(long a_lTimeStamp, int a_iValue, PerformanceEntry.PerformanceAttributeEntry a_previousEntry)
a_lTimeStamp
- The timestamp.a_iValue
- The value.public int getAverageValue()
public int getMinValue()
public int getMaxValue()
public int getBound()
public double getStdDeviation()
public void setErrors(int a_errors)
public int getErrors()
public void setResets(int a_resets)
public int getResets()
public int getUnknown()
public void setUnknown(int a_unknown)
public void setSuccess(int a_iSuccess)
public int getSuccess()
public int getValueSize()
public long getDayTimestamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |