- All Implemented Interfaces:
public class AllCopiesSelector
- extends java.lang.Object
- implements CopySelector
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.
- Gabriele Carcassi & Pavel Jakl
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AllCopiesSelector(boolean HPSS)
public int selectCopy(QueryResult list,
- Description copied from interface:
- Selects the physical copies from the query result according to the
parameters of the query, and puts them in the assignment. The selector
has to guarantee not to remove files from the received assignment, but
only add them.
- Specified by:
selectCopy in interface
list - the result of the query
query - the query that generated the result
assignment - the assignment where to add the copies
- the number of files added to the assignment
Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.