|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.locality.constraint.NodeGroupConstraint
public final class NodeGroupConstraint
Constraint to have a Job execute on a specific node group.
Node groups are defined in quartzLocality.properties
NodeGroupEvaluator,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
NodeGroupConstraint.Operator
|
| Constructor Summary | |
|---|---|
NodeGroupConstraint(NodeGroupConstraint.Operator operator,
String targetNodeGroup)
|
|
NodeGroupConstraint(String targetNodeGroup)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getTargetNodeGroup()
Getter to the target node group |
int |
hashCode()
|
boolean |
matches(String actual)
|
static NodeGroupConstraint |
partOfNodeGroup(String targetNodeGroup)
Creates a NodeGroupConstraint that specifies the node group on which the Job has to be executed |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeGroupConstraint(String targetNodeGroup)
targetNodeGroup - the targeted node group for this constraint
public NodeGroupConstraint(NodeGroupConstraint.Operator operator,
String targetNodeGroup)
| Method Detail |
|---|
public static NodeGroupConstraint partOfNodeGroup(String targetNodeGroup)
NodeGroupConstraint that specifies the node group on which the Job has to be executed
targetNodeGroup - The name of the target group, as specified in quartzLocality.properties
NodeGroupConstraint instancepublic String getTargetNodeGroup()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic boolean matches(String actual)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||