|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 FormNested 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 constraintpublic 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 Object
public boolean equals(Object o)
equals
in class Object
public boolean matches(String actual)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |