|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.monitor.jmx.EventTrigger
org.eclipse.jetty.monitor.triggers.AndEventTrigger
public class AndEventTrigger
AndEventTrigger EventTrigger aggregation using logical AND operation that executes matching of the aggregated event triggers in left to right order
| 字段摘要 | |
|---|---|
protected List<EventTrigger> |
_triggers
|
| 构造方法摘要 | |
|---|---|
AndEventTrigger(EventTrigger... triggers)
Construct an event trigger and associate the array of event triggers to be aggregated by this trigger |
|
AndEventTrigger(List<EventTrigger> triggers)
Construct an event trigger and associate the list of event triggers to be aggregated by this trigger |
|
| 方法摘要 | |
|---|---|
EventState |
getState(long timestamp)
Retrieve the event state associated with specified invocation of the event trigger match method. |
boolean |
match(long timestamp)
Verify if the event trigger conditions are in the appropriate state for an event to be triggered. |
String |
toString()
Returns the string representation of this event trigger in the format "AND(triger1,trigger2,...)". |
| 从类 org.eclipse.jetty.monitor.jmx.EventTrigger 继承的方法 |
|---|
getID |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected final List<EventTrigger> _triggers
| 构造方法详细信息 |
|---|
public AndEventTrigger(List<EventTrigger> triggers)
triggers - list of event triggers to addpublic AndEventTrigger(EventTrigger... triggers)
triggers - array of event triggers to add| 方法详细信息 |
|---|
public boolean match(long timestamp)
throws Exception
EventTrigger 中的 matchExceptionEventTrigger.match(long)public EventState getState(long timestamp)
EventTrigger 中的 getStatetimestamp - time stamp associated with invocation
EventTrigger.getState(long)public String toString()
Object 中的 toStringObject.toString()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||