public class CheckFDMonitor extends Rule
构造器和说明 |
---|
CheckFDMonitor() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
condition()
Returns a description of the condition that led to
Rule.eval() returning true |
java.lang.String |
description()
Describes what the rules does
|
boolean |
eval()
Evaluates the condition.
|
void |
init()
Called when rule is installed
|
java.lang.String |
name()
Returns the name of the rule.
|
java.lang.String |
toString() |
void |
trigger()
The action of the rule.
|
destroy, log, run, supervisor
protected FD fd
public java.lang.String name()
Rule
public java.lang.String description()
Rule
description
在类中 Rule
public boolean eval()
Rule
Rule.condition()
should return a non-null stringpublic java.lang.String condition()
Rule
Rule.eval()
returning truepublic void trigger() throws java.lang.Throwable
Rule
Rule.eval()
returned truepublic java.lang.String toString()
toString
在类中 java.lang.Object