gov.bnl.star.offline.scheduler.policy
Class SelectorAssignmentStrategy

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.policy.SelectorAssignmentStrategy
All Implemented Interfaces:
AssignmentStrategy

public class SelectorAssignmentStrategy
extends java.lang.Object
implements AssignmentStrategy

Version:
$Revision: 1.11 $ $Date: 2006/11/21 00:41:32 $
Author:
Gabriele Carcassi

Constructor Summary
SelectorAssignmentStrategy()
           
 
Method Summary
 FileAssignment assignFiles(Request request, QueryResult[] results, CatalogQuery[] queries, java.util.List fileList)
          Executes the strategy, by assigning all the copies of the files and creating a FileAssignment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectorAssignmentStrategy

public SelectorAssignmentStrategy()
Method Detail

assignFiles

public FileAssignment assignFiles(Request request,
                                  QueryResult[] results,
                                  CatalogQuery[] queries,
                                  java.util.List fileList)
Description copied from interface: AssignmentStrategy
Executes the strategy, by assigning all the copies of the files and creating a FileAssignment.

Specified by:
assignFiles in interface AssignmentStrategy
Parameters:
request - the job request
results - the results of all the queries
queries - all the queries
fileList - the files gathered directly from the description
Returns:
the file assignment


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.