org.eclipse.jetty.monitor.integration
类 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>


字段摘要
 
从类 org.eclipse.jetty.monitor.triggers.AttrEventTrigger 继承的字段
_attributeName, _objectName, _states
 
构造方法摘要
JavaMonitorTrigger(ObjectName nameObject, String attributeName, String id, String name, boolean dynamic)
           
 
方法摘要
 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.
 
从类 org.eclipse.jetty.monitor.triggers.AttrEventTrigger 继承的方法
getState, getValue, match, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

JavaMonitorTrigger

public JavaMonitorTrigger(ObjectName nameObject,
                          String attributeName,
                          String id,
                          String name,
                          boolean dynamic)
                   throws IllegalArgumentException
参数:
nameObject -
attributeName -
id -
dynamic -
抛出:
IllegalArgumentException
方法详细信息

match

public boolean match(Comparable<TYPE> value)
从类 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

覆盖:
AttrEventTrigger<TYPE extends Comparable<TYPE>> 中的 match
另请参见:
AttrEventTrigger.match(java.lang.Comparable)

getSaveAll

protected boolean getSaveAll()
覆盖:
AttrEventTrigger<TYPE extends Comparable<TYPE>> 中的 getSaveAll

getID

public String getID()
从类 EventTrigger 复制的描述
Retrieve the identification string of the event trigger

覆盖:
EventTrigger 中的 getID
返回:
unique identification string

getNameString

public String getNameString()
从类 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.

覆盖:
AttrEventTrigger<TYPE extends Comparable<TYPE>> 中的 getNameString
返回:
string representation of the event trigger


Copyright © 2013. All Rights Reserved.