|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.quartz.locality.constraint.evaluator Interface PersistentEvaluator<T extends Constraint,V>
- Type Parameters:
T
- A clusterable value type for the Map
- All Superinterfaces:
- Evaluator<T>
- All Known Implementing Classes:
- CpuEvaluator, MemoryEvaluator, OsEvaluator
public interface PersistentEvaluator<T extends Constraint,V>
- extends Evaluator<T>
An particular Evaluator
that will be passed a clustered ConcurrentMap
instance to store shared data.
The key type of that Map is String (instanceId generally) and its value type needs to be clusterable.
This type lets Evaluators share data across the cluster, required for proper evaluation of potentially matching nodes.
- Author:
- Alex Snaps
Method Summary | |
---|---|
void |
initialize(String nodeName,
ConcurrentMap<String,V> map)
During its bootstrapping, the JobStore will call this method once on each node,
passing a Clustered ConcurrentMap instance and the local instanceId of the Scheduler |
Methods inherited from interface org.quartz.locality.constraint.evaluator.Evaluator |
---|
matches, suitedNodes, verify |
Method Detail |
---|
initialize
void initialize(String nodeName, ConcurrentMap<String,V> map)
- During its bootstrapping, the
JobStore
will call this method once on each node, passing a ClusteredConcurrentMap
instance and the local instanceId of theScheduler
- Parameters:
nodeName
- Local instanceIdmap
- the shared persistent storage for the Evaluator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2001-2011, Terracotta, Inc.