gov.bnl.star.offline.scheduler
Class AccessMethod

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.AccessMethod

public class AccessMethod
extends java.lang.Object

A configuration object used to combine (associate) the dispatcher with the queue under a gatekeeper.

Author:
lbhajdu

Constructor Summary
AccessMethod()
          Creates a new instance of AccessMethod
 
Method Summary
 void addAccessPoint(GateKeeperAccessPoint AccessPoint)
          The user need not configure this this member the access point will configure it when the object is added.
 void addAccessPoint(LocalAccessPoint AccessPoint)
           
 void addQueue(Queue queue)
          Used to add all queues that can be acessed by this method.
 java.util.List getAccessPoints()
           
 LocalAccessPoint getAssociatedAccessPoint()
           
 java.lang.String getBatchSystem()
          Get the string that is to be used by condor-g (globusscheduler)
 Dispatcher getDispatcher()
          returns the dispatcher to use to access the queues in the queue list
 java.util.List getQueues()
          Returns a list of queues (queue objects) that can be accessed by this method.
 void setAccessPoints(java.util.List accessPoints)
          The user need not configure this this member the access point will configure it when the object is added.
 void setBatchSystem(java.lang.String batchSystem)
          Set the batch system that is to be used in the condor-g access string (Can also be used for reporting)
 void setDispatcher(Dispatcher dispatcher)
          Set the dispatcher to use to access the queues in the queue list.
 void setQueues(java.util.List Queues)
          It will set (reset) the list that has been configured by the config file at start up.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessMethod

public AccessMethod()
Creates a new instance of AccessMethod

Method Detail

setBatchSystem

public void setBatchSystem(java.lang.String batchSystem)
Set the batch system that is to be used in the condor-g access string (Can also be used for reporting)


getBatchSystem

public java.lang.String getBatchSystem()
Get the string that is to be used by condor-g (globusscheduler)


getDispatcher

public Dispatcher getDispatcher()
returns the dispatcher to use to access the queues in the queue list


setDispatcher

public void setDispatcher(Dispatcher dispatcher)
Set the dispatcher to use to access the queues in the queue list. Note: This should be called from the config file.


addQueue

public void addQueue(Queue queue)
Used to add all queues that can be acessed by this method. Note: This method is called for the config file.


getQueues

public java.util.List getQueues()
Returns a list of queues (queue objects) that can be accessed by this method.


setQueues

public void setQueues(java.util.List Queues)
It will set (reset) the list that has been configured by the config file at start up. Note: This function is only called by the framework.


addAccessPoint

public void addAccessPoint(LocalAccessPoint AccessPoint)

addAccessPoint

public void addAccessPoint(GateKeeperAccessPoint AccessPoint)
The user need not configure this this member the access point will configure it when the object is added.


getAccessPoints

public java.util.List getAccessPoints()

setAccessPoints

public void setAccessPoints(java.util.List accessPoints)
The user need not configure this this member the access point will configure it when the object is added.


getAssociatedAccessPoint

public LocalAccessPoint getAssociatedAccessPoint()


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