|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.policy.copyselector.SingleCopySelector
public class SingleCopySelector
Choses a copy for each files randomly, taking into consideration the preferStorage. It doesn't use minFilesPerProcess.
Constructor Summary | |
---|---|
SingleCopySelector(boolean HPSSFiles)
|
Method Summary | |
---|---|
int |
selectCopy(QueryResult list,
CatalogQuery query,
FileAssignment assignment)
Selects the physical copies from the query result according to the parameters of the query, and puts them in the assignment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleCopySelector(boolean HPSSFiles)
Method Detail |
---|
public int selectCopy(QueryResult list, CatalogQuery query, FileAssignment assignment)
CopySelector
selectCopy
in interface CopySelector
list
- the result of the queryquery
- the query that generated the resultassignment
- the assignment where to add the copies
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |