|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Policy
A policy to decide how and where a job should be dispatched. A policy class will be needed to create any scheduler.
Method Summary | |
---|---|
java.util.List |
assignTargetMachine(Request request)
Decides how and where to run the job according to its requirements. |
Method Detail |
---|
java.util.List assignTargetMachine(Request request)
The Policy is allowed to query the farm status, use the catalog and trigger file movements. It can slice the job into more than one process, according to, for example, where the input files are located.
request
- the job description and its requirements
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |