|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.fw.FaultStats
This defines the sequence of data elements which provide the statistics on a per fault type basis. Occurrences is the number of separate instances of this fault during the period. MaxDuration and TotalDuration are the number of seconds duration of the longest fault and the cumulative total during the period. NumberOfClientsAffected is the number of clients informed of the fault by the Framework.
Constructor Summary | |
FaultStats()
Creates a new FaultStats instance. |
|
FaultStats(org.csapi.jr.se.fw.InterfaceFault _fault,
int _occurrences,
int _maxDuration,
int _totalDuration,
int _numberOfClientsAffected)
Creates a new FaultStats instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
org.csapi.jr.se.fw.InterfaceFault |
getFault()
This method returns a fault. |
int |
getMaxDuration()
This method returns a maxDuration. |
int |
getNumberOfClientsAffected()
This method returns a numberOfClientsAffected. |
int |
getOccurrences()
This method returns a occurrences. |
int |
getTotalDuration()
This method returns a totalDuration. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setFault(org.csapi.jr.se.fw.InterfaceFault fault)
This method sets a fault. |
void |
setMaxDuration(int maxDuration)
This method sets a maxDuration. |
void |
setNumberOfClientsAffected(int numberOfClientsAffected)
This method sets a numberOfClientsAffected. |
void |
setOccurrences(int occurrences)
This method sets a occurrences. |
void |
setTotalDuration(int totalDuration)
This method sets a totalDuration. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FaultStats()
public FaultStats(org.csapi.jr.se.fw.InterfaceFault _fault, int _occurrences, int _maxDuration, int _totalDuration, int _numberOfClientsAffected)
_fault
- _occurrences
- The number of separate instances of this fault_maxDuration
- The number of seconds duration of the longest fault_totalDuration
- The cumulative duration (all occurrences)_numberOfClientsAffected
- The number of clients informed of the fault by the FwMethod Detail |
public org.csapi.jr.se.fw.InterfaceFault getFault()
public int getOccurrences()
public int getMaxDuration()
public int getTotalDuration()
public int getNumberOfClientsAffected()
public void setFault(org.csapi.jr.se.fw.InterfaceFault fault)
public void setOccurrences(int occurrences)
public void setMaxDuration(int maxDuration)
public void setTotalDuration(int totalDuration)
public void setNumberOfClientsAffected(int numberOfClientsAffected)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |