|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.measurement.ext.ProblemResourceInfo
public class ProblemResourceInfo
This is used to determine to identify which concrete resources have problem indicators.
Constructor Summary | |
---|---|
ProblemResourceInfo(AppdefEntityID anEntityId,
java.lang.Integer theOobCount,
java.lang.Integer theAlertCount,
long theEarliest,
long theLatest)
Construct a problem resource with data pulled from the database |
|
ProblemResourceInfo(AppdefEntityID anEntityId,
ProblemMetricInfo[] someProblems)
Construct a problem resource from its set of problem metrics |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Depending compare resource's problems based on when it started producing alerts or started having metrics out of bounds. |
int |
getAlertCount()
The number of alerts that the resource has associated with it during the timeframe this was constructed for |
long |
getEarliest()
The time within the constructed timeframe when a problem was first detected |
AppdefEntityID |
getEntityId()
The ID of the problematic resource |
long |
getLatest()
|
int |
getOobCount()
The number of value out-of-range events that the resource has associated with it during the timeframe this was constructed for |
boolean |
isAlertCountSet()
|
boolean |
isOobCountSet()
|
void |
setAlertCount(int alertCount)
|
void |
setEarliest(long earliest)
|
void |
setLatest(long latest)
|
void |
setOobCount(int oobCount)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProblemResourceInfo(AppdefEntityID anEntityId, java.lang.Integer theOobCount, java.lang.Integer theAlertCount, long theEarliest, long theLatest)
anEntityId
- theOobCount
- theAlertCount
- theEarliest
- public ProblemResourceInfo(AppdefEntityID anEntityId, ProblemMetricInfo[] someProblems)
anEntityId
- someProblems
- Method Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public int getAlertCount()
public int getOobCount()
public long getEarliest()
public AppdefEntityID getEntityId()
public boolean isAlertCountSet()
public boolean isOobCountSet()
public void setAlertCount(int alertCount)
public void setOobCount(int oobCount)
public void setEarliest(long earliest)
public long getLatest()
public void setLatest(long latest)
public java.lang.String toString()
toString
in class java.lang.Object
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |