anon.infoservice
Class PerformanceEntry.StabilityAttributes

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

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


Field Summary
private static double BOUND
           
private  int m_boundErrors
           
private  int m_boundResets
           
private  int m_boundUnknown
           
private  int m_iErrors
           
private  int m_iResets
           
private  int m_iSize
           
private  int m_iUnknown
           
private static java.lang.String XML_ATTR_BOUND_ERRORS
           
private static java.lang.String XML_ATTR_BOUND_RESETS
           
private static java.lang.String XML_ATTR_BOUND_UNKNOWN
           
private static java.lang.String XML_ATTR_ERRORS
           
private static java.lang.String XML_ATTR_RESETS
           
private static java.lang.String XML_ATTR_TOTAL
           
private static java.lang.String XML_ATTR_UNKNOWN
           
static java.lang.String XML_ELEMENT_NAME
           
 
Constructor Summary
private PerformanceEntry.StabilityAttributes(org.w3c.dom.Element a_entry)
           
  PerformanceEntry.StabilityAttributes(int a_iSize, int a_iUnknown, int a_iErrors, int a_iResets)
           
 
Method Summary
 int getBoundErrors()
          Returns the amount of errors.
 int getBoundResets()
          Only useful for PACKETS attribute.
 int getBoundUnknown()
          The amount of attempts that should have been made but were not.
 int getValueSize()
          Returns the amount of values and errors.
 org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_ELEMENT_NAME

public static final java.lang.String XML_ELEMENT_NAME
See Also:
Constant Field Values

XML_ATTR_TOTAL

private static final java.lang.String XML_ATTR_TOTAL
See Also:
Constant Field Values

XML_ATTR_UNKNOWN

private static final java.lang.String XML_ATTR_UNKNOWN
See Also:
Constant Field Values

XML_ATTR_ERRORS

private static final java.lang.String XML_ATTR_ERRORS
See Also:
Constant Field Values

XML_ATTR_RESETS

private static final java.lang.String XML_ATTR_RESETS
See Also:
Constant Field Values

XML_ATTR_BOUND_UNKNOWN

private static final java.lang.String XML_ATTR_BOUND_UNKNOWN
See Also:
Constant Field Values

XML_ATTR_BOUND_ERRORS

private static final java.lang.String XML_ATTR_BOUND_ERRORS
See Also:
Constant Field Values

XML_ATTR_BOUND_RESETS

private static final java.lang.String XML_ATTR_BOUND_RESETS
See Also:
Constant Field Values

BOUND

private static final double BOUND
See Also:
Constant Field Values

m_iSize

private int m_iSize

m_iErrors

private int m_iErrors

m_iResets

private int m_iResets

m_iUnknown

private int m_iUnknown

m_boundUnknown

private int m_boundUnknown

m_boundErrors

private int m_boundErrors

m_boundResets

private int m_boundResets
Constructor Detail

PerformanceEntry.StabilityAttributes

private PerformanceEntry.StabilityAttributes(org.w3c.dom.Element a_entry)
                                      throws XMLParseException
Throws:
XMLParseException

PerformanceEntry.StabilityAttributes

public PerformanceEntry.StabilityAttributes(int a_iSize,
                                            int a_iUnknown,
                                            int a_iErrors,
                                            int a_iResets)
Method Detail

getBoundErrors

public int getBoundErrors()
Returns the amount of errors.

Returns:
The amounts of errors.

getBoundResets

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

Returns:
how often the service has been reset/restarted

getBoundUnknown

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

Returns:

getValueSize

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

Returns:
The amount of values and errors.

toXmlElement

public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)