org.rhq.core.domain.resource.composite
Class ResourceAvailabilitySummary

java.lang.Object
  extended by org.rhq.core.domain.resource.composite.ResourceAvailabilitySummary
All Implemented Interfaces:
Serializable

public class ResourceAvailabilitySummary
extends Object
implements Serializable

Summary information about a resource's availability history

See Also:
Serialized Form

Constructor Summary
ResourceAvailabilitySummary(long upTime, long downTime, int failures, long lastChange, AvailabilityType current)
           
 
Method Summary
 AvailabilityType getCurrent()
           
 long getDownTime()
           
 int getFailures()
           
 Date getLastChange()
           
 long getMTBF()
           
 long getMTTR()
           
 double getUpPercentage()
           
 long getUpTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceAvailabilitySummary

public ResourceAvailabilitySummary(long upTime,
                                   long downTime,
                                   int failures,
                                   long lastChange,
                                   AvailabilityType current)
Method Detail

getMTBF

public long getMTBF()

getMTTR

public long getMTTR()

getUpPercentage

public double getUpPercentage()

getUpTime

public long getUpTime()

getDownTime

public long getDownTime()

getFailures

public int getFailures()

getLastChange

public Date getLastChange()

getCurrent

public AvailabilityType getCurrent()


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.