|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.domain.resource.composite.ResourceAvailabilitySummary
public class ResourceAvailabilitySummary
Summary information about a resource's availability history
| Constructor Summary | |
|---|---|
protected |
ResourceAvailabilitySummary()
|
|
ResourceAvailabilitySummary(List<Availability> availabilities)
|
|
ResourceAvailabilitySummary(long now,
long upTime,
long downTime,
long disabledTime,
long unknownTime,
int failures,
int disabled,
long lastChange,
AvailabilityType current)
|
| Method Summary | |
|---|---|
AvailabilityType |
getCurrent()
|
long |
getCurrentTime()
Returns the "current time" which is actually the time that was current at the time when this object was created. |
int |
getDisabled()
Returns the number of discrete times the availability flipped to DISABLED. |
double |
getDisabledPercentage()
Returns the percentage of time the availability has been DISABLED. |
long |
getDisabledTime()
Returns the time the availability has been DISABLED in milliseconds. |
double |
getDownPercentage()
Returns the percentage of time the availability has been DOWN. |
long |
getDownTime()
Returns the time the availability has been DOWN in milliseconds. |
int |
getFailures()
Returns the number of discrete times the availability went DOWN, which is considered a failure. |
long |
getKnownTime()
Returns the time the availability was in a known state (which includes UP, DOWN and DISABLED). |
Date |
getLastChange()
|
long |
getMTBF()
Returns the mean-time-between-failures metric. |
long |
getMTTR()
Returns the mean-time-to-repair metric. |
long |
getUnknownTime()
Returns the time the availability has been UNKNOWN in milliseconds. |
double |
getUpPercentage()
Returns the percentage of time the availability has been UP. |
long |
getUpTime()
Returns the time the availability has been UP in milliseconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceAvailabilitySummary(List<Availability> availabilities)
public ResourceAvailabilitySummary(long now,
long upTime,
long downTime,
long disabledTime,
long unknownTime,
int failures,
int disabled,
long lastChange,
AvailabilityType current)
protected ResourceAvailabilitySummary()
| Method Detail |
|---|
public long getMTBF()
public long getMTTR()
public double getUpPercentage()
public long getUpTime()
public double getDownPercentage()
public long getDownTime()
public double getDisabledPercentage()
public long getDisabledTime()
public long getUnknownTime()
public long getKnownTime()
public int getFailures()
public int getDisabled()
public Date getLastChange()
public AvailabilityType getCurrent()
public long getCurrentTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||