|
||||||||||
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.AllCopiesSelector
public class AllCopiesSelector
Select all the copies returned by the query. All the physical files present in the query result are added to the assignment. This is used when singleCopy="false" is set in the description.
Constructor Summary | |
---|---|
AllCopiesSelector(boolean HPSS)
|
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 AllCopiesSelector(boolean HPSS)
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 |