PHENIX Job Submission - Release 1.0.0

gov.bnl.phenix.offline.pjs.shared
Class LocationInfo

java.lang.Object
  extended bygov.bnl.phenix.offline.pjs.shared.LocationInfo

public class LocationInfo
extends java.lang.Object

The LocationInfo class provides the cluster specific information for creating the JDL files.

Author:
Michael Reuter

Constructor Summary
LocationInfo()
          Class constructor
LocationInfo(java.lang.String clusterId, int numFiles, int offset, java.lang.String outputDir)
          Class constructor with arguments
 
Method Summary
 java.lang.String getClusterId()
          Gets the cluster ID string
 int getNumFiles()
          Gets the number of requested files for this cluster
 int getOffset()
          Gets the offset for the cluster.
 java.lang.String getOutputDir()
          Gets the output directory for the cluster
 java.lang.String getSemaphoreDir()
          Gets the semaphore directory for the cluster
 void setClusterId(java.lang.String clusterId)
          Sets the cluster ID
 void setNumFiles(int numFiles)
          Sets the number of requested files for the cluster
 void setOffset(int offset)
          Sets the offset for the cluster
 void setOutputDir(java.lang.String outputDir)
          Sets the output directory for the cluster
 void setSemaphoreDir(java.lang.String semaphoreDir)
          Sets the semaphore directory for the cluster
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationInfo

public LocationInfo()
Class constructor


LocationInfo

public LocationInfo(java.lang.String clusterId,
                    int numFiles,
                    int offset,
                    java.lang.String outputDir)
Class constructor with arguments

Parameters:
clusterId - string containing the three letter cluster ID
numFiles - integer with the number of requested files for this cluster
offset - integer with the offset. Used with multiple clusters
outputDir - string containing the cluster output directory
Method Detail

getClusterId

public java.lang.String getClusterId()
Gets the cluster ID string

Returns:
a string containing the three letter cluster ID

getNumFiles

public int getNumFiles()
Gets the number of requested files for this cluster

Returns:
integer containing the number of requested files for this cluster

getOffset

public int getOffset()
Gets the offset for the cluster. Used with multiple clusters

Returns:
integer containing the offset for the cluster

getOutputDir

public java.lang.String getOutputDir()
Gets the output directory for the cluster

Returns:
string containing the output directory for the cluster

getSemaphoreDir

public java.lang.String getSemaphoreDir()
Gets the semaphore directory for the cluster

Returns:
string containing the semaphore directory for the cluster

setClusterId

public void setClusterId(java.lang.String clusterId)
Sets the cluster ID

Parameters:
clusterId - string containing the three letter cluster ID

setNumFiles

public void setNumFiles(int numFiles)
Sets the number of requested files for the cluster

Parameters:
numFiles - integer containing the number of requested files for the cluster

setOffset

public void setOffset(int offset)
Sets the offset for the cluster

Parameters:
offset - integer containing the offset for the cluster

setOutputDir

public void setOutputDir(java.lang.String outputDir)
Sets the output directory for the cluster

Parameters:
outputDir - string containing the output directory for the cluster

setSemaphoreDir

public void setSemaphoreDir(java.lang.String semaphoreDir)
Sets the semaphore directory for the cluster

Parameters:
semaphoreDir - string containing the semaphore directory for the cluster

PHENIX Job Submission - Release 1.0.0

>Copyright © 2004 PHENIX Collaboration - Brookhaven National Laboratory. All Rights Reserved.