public class GreaterThanOrEqualToAttrEventTrigger<TYPE extends Comparable<TYPE>> extends AttrEventTrigger<TYPE>
| Modifier and Type | Field and Description |
|---|---|
protected TYPE |
_min |
_attributeName, _objectName, _states| Constructor and Description |
|---|
GreaterThanOrEqualToAttrEventTrigger(String objectName,
String attributeName,
TYPE min)
Construct event trigger and specify the MXBean attribute
that will be polled by this event trigger as well as min
value of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Comparable<TYPE> value)
Compare the value of the MXBean attribute being polling
to check if it is greater than or equal to the min value.
|
String |
toString()
Returns the string representation of this event trigger
in the format "min<=name".
|
getNameString, getSaveAll, getState, getValue, matchgetIDprotected final TYPE extends Comparable<TYPE> _min
public GreaterThanOrEqualToAttrEventTrigger(String objectName, String attributeName, TYPE min) throws MalformedObjectNameException, IllegalArgumentException
objectName - object name of an MBean to be polledattributeName - name of an MBean attribute to be polledmin - minimum value of the attributeMalformedObjectNameExceptionIllegalArgumentExceptionpublic boolean match(Comparable<TYPE> value)
match in class AttrEventTrigger<TYPE extends Comparable<TYPE>>AttrEventTrigger.match(java.lang.Comparable)public String toString()
toString in class AttrEventTrigger<TYPE extends Comparable<TYPE>>Object.toString()Copyright © 1995-2015 Webtide. All Rights Reserved.