|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.ObservedObject
An observed object
Field Summary | |
static int |
OBSERVED_ATTRIBUTE_ERROR_NOTIFIED
An observed attribute error has been notified. |
static int |
OBSERVED_ATTRIBUTE_TYPE_ERROR_NOTIFIED
An observed attribute type error has been notified. |
static int |
OBSERVED_OBJECT_ERROR_NOTIFIED
An observed object error has been notified. |
static int |
RESET_FLAGS_ALREADY_NOTIFIED
Used to reset errors in #alreadyNotified . |
static int |
RUNTIME_ERROR_NOTIFIED
An observed attribute type error has been notified. |
Constructor Summary | |
ObservedObject(ObjectName objectName)
Construct a new observed object. |
Method Summary | |
int |
getAlreadyNotified()
|
Object |
getDerivedGauge()
|
long |
getDerivedGaugeTimeStamp()
|
Object |
getLastValue()
|
ObjectName |
getObjectName()
|
Object |
getThreshold()
|
boolean |
isAlreadyNotified(int mask)
|
boolean |
notAlreadyNotified(int mask)
|
void |
resetAlreadyNotified()
|
void |
setAlreadyNotified(int mask)
|
void |
setDerivedGauge(Object gauge)
|
void |
setDerivedGaugeTimeStamp(long ts)
|
void |
setLastValue(Object last)
|
void |
setNotAlreadyNotified(int mask)
|
void |
setThreshold(Object threshold)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int RESET_FLAGS_ALREADY_NOTIFIED
#alreadyNotified
.
public static final int RUNTIME_ERROR_NOTIFIED
public static final int OBSERVED_OBJECT_ERROR_NOTIFIED
public static final int OBSERVED_ATTRIBUTE_ERROR_NOTIFIED
public static final int OBSERVED_ATTRIBUTE_TYPE_ERROR_NOTIFIED
Constructor Detail |
public ObservedObject(ObjectName objectName)
objectName
- the object name.Method Detail |
public ObjectName getObjectName()
public int getAlreadyNotified()
public boolean isAlreadyNotified(int mask)
public boolean notAlreadyNotified(int mask)
public void setNotAlreadyNotified(int mask)
public void setAlreadyNotified(int mask)
public void resetAlreadyNotified()
public Object getDerivedGauge()
public void setDerivedGauge(Object gauge)
public Object getLastValue()
public void setLastValue(Object last)
public long getDerivedGaugeTimeStamp()
public void setDerivedGaugeTimeStamp(long ts)
public Object getThreshold()
public void setThreshold(Object threshold)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |