org.eclipse.jetty.monitor.integration
Class JavaMonitorTrigger<TYPE extends Comparable<TYPE>>
java.lang.Object
org.eclipse.jetty.monitor.jmx.EventTrigger
org.eclipse.jetty.monitor.triggers.AttrEventTrigger<TYPE>
org.eclipse.jetty.monitor.integration.JavaMonitorTrigger<TYPE>
public class JavaMonitorTrigger<TYPE extends Comparable<TYPE>>
- extends AttrEventTrigger<TYPE>
Method Summary |
String |
getID()
Retrieve the identification string of the event trigger |
String |
getNameString()
Returns the string representation of this event trigger
in the format "[object_name:attribute_name]". |
protected boolean |
getSaveAll()
|
boolean |
match(Comparable<TYPE> value)
Verify if the event trigger conditions are in the
appropriate state for an event to be triggered. |
JavaMonitorTrigger
public JavaMonitorTrigger(ObjectName nameObject,
String attributeName,
String id,
String name,
boolean dynamic)
throws IllegalArgumentException
- Parameters:
nameObject
- attributeName
- id
- dynamic
-
- Throws:
IllegalArgumentException
match
public boolean match(Comparable<TYPE> value)
- Description copied from class:
AttrEventTrigger
- Verify if the event trigger conditions are in the
appropriate state for an event to be triggered.
Allows subclasses to override the default behavior
that matches every invocation of this trigger
- Overrides:
match
in class AttrEventTrigger<TYPE extends Comparable<TYPE>>
- See Also:
AttrEventTrigger.match(java.lang.Comparable)
getSaveAll
protected boolean getSaveAll()
- Overrides:
getSaveAll
in class AttrEventTrigger<TYPE extends Comparable<TYPE>>
getID
public String getID()
- Description copied from class:
EventTrigger
- Retrieve the identification string of the event trigger
- Overrides:
getID
in class EventTrigger
- Returns:
- unique identification string
getNameString
public String getNameString()
- Description copied from class:
AttrEventTrigger
- Returns the string representation of this event trigger
in the format "[object_name:attribute_name]". Allows
subclasses to override the name string used to identify
this event trigger in the event state object as well as
string representation of the subclasses.
- Overrides:
getNameString
in class AttrEventTrigger<TYPE extends Comparable<TYPE>>
- Returns:
- string representation of the event trigger
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.