public class CheckFDMonitor extends Rule
| Constructor and Description |
|---|
CheckFDMonitor() |
| Modifier and Type | Method and Description |
|---|---|
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, supervisorprotected FD fd
public java.lang.String name()
Rulepublic java.lang.String description()
Ruledescription in class Rulepublic void init()
Rulepublic boolean eval()
RuleRule.condition()
should return a non-null stringpublic java.lang.String condition()
RuleRule.eval() returning truepublic void trigger()
throws java.lang.Throwable
RuleRule.eval() returned truepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1998-2020 Red Hat. All Rights Reserved.