gov.bnl.star.offline.scheduler
Class CompositeDispatcher

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.CompositeDispatcher
All Implemented Interfaces:
Dispatcher

Deprecated. Replaced by GenericCompositeDispatcher

public class CompositeDispatcher
extends java.lang.Object
implements Dispatcher

Version:
$Revision: 1.7 $ $Date: 2006/11/21 00:41:32 $
Author:
carcassi

Field Summary
protected  java.util.Map dispatchers
          Deprecated.  
 
Constructor Summary
CompositeDispatcher()
          Deprecated. Creates a new instance of CompositeDispatcher
 
Method Summary
 void dispatch(Request request, java.util.List jobs)
          Deprecated. Dispatches the processes described in the job request.
 DispatcherChooser getChooser()
          Deprecated. Getter for property chooser.
 Dispatcher getDispatcher(java.lang.String name)
          Deprecated.  
 java.util.Map getDispatchers()
          Deprecated.  
 void Kill(Request request, java.util.List jobs)
          Deprecated. Kills the processes associated with this job.
 void retrieveOutput(Request job, java.util.List jobs)
          Deprecated. Retrieves the output of the job from the target machine.
 void setChooser(DispatcherChooser chooser)
          Deprecated. Setter for property chooser.
 void setDispatchers(java.util.Map dispatchers)
          Deprecated.  
 java.lang.String Status(Job job, int Processe)
          Deprecated. Returns The status of the job
 void stop()
          Deprecated. Cases the dispacher to stop dispaching and trys to kill dispached jobs This is currently not implemented by any dispatchers.
 boolean test(Queue queue)
          Deprecated. Runs test(s) on underlying components to determine if submitting jobs should be attempted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dispatchers

protected java.util.Map dispatchers
Deprecated. 
Constructor Detail

CompositeDispatcher

public CompositeDispatcher()
Deprecated. 
Creates a new instance of CompositeDispatcher

Method Detail

setDispatchers

public void setDispatchers(java.util.Map dispatchers)
Deprecated. 

getDispatchers

public java.util.Map getDispatchers()
Deprecated. 

getDispatcher

public Dispatcher getDispatcher(java.lang.String name)
Deprecated. 

dispatch

public void dispatch(Request request,
                     java.util.List jobs)
Deprecated. 
Description copied from interface: Dispatcher
Dispatches the processes described in the job request. To dispatch the job, the dispatcher will also recreate the remote environment needed by the job as specified in the JobDescription

Specified by:
dispatch in interface Dispatcher
Parameters:
request - job description and requirements, include input and output file and environment variables

retrieveOutput

public void retrieveOutput(Request job,
                           java.util.List jobs)
Deprecated. 
Description copied from interface: Dispatcher
Retrieves the output of the job from the target machine. It will first check whether the job has terminated, and than it will retrieve the output files and delete any temporary files on the target machine.

Specified by:
retrieveOutput in interface Dispatcher
Parameters:
job - job description and requirements, include input and output file and environment variables

getChooser

public DispatcherChooser getChooser()
Deprecated. 
Getter for property chooser.

Returns:
Value of property chooser.

setChooser

public void setChooser(DispatcherChooser chooser)
Deprecated. 
Setter for property chooser.

Parameters:
chooser - New value of property chooser.

Kill

public void Kill(Request request,
                 java.util.List jobs)
Deprecated. 
Description copied from interface: Dispatcher
Kills the processes associated with this job.

Specified by:
Kill in interface Dispatcher

Status

public java.lang.String Status(Job job,
                               int Processe)
Deprecated. 
Description copied from interface: Dispatcher
Returns The status of the job

Specified by:
Status in interface Dispatcher

stop

public void stop()
Deprecated. 
Description copied from interface: Dispatcher
Cases the dispacher to stop dispaching and trys to kill dispached jobs This is currently not implemented by any dispatchers.

Specified by:
stop in interface Dispatcher

test

public boolean test(Queue queue)
Deprecated. 
Description copied from interface: Dispatcher
Runs test(s) on underlying components to determine if submitting jobs should be attempted. Will return true to indicate everything is alright and false if the test has failed.

Specified by:
test in interface Dispatcher


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