Class LSFNodePriorityStringGenerator

  extended by

public class LSFNodePriorityStringGenerator
extends java.lang.Object

This class builds the string used by LSF to state which node or nodes the job would prefer to run on. Nodes which hold more local files requested by the job will be given a higher priority then nodes that hold less files or do not hold any files by LSF. The string is formated in such a way as to allow it to be directly addable to the LSF command string.

Levente Hajdu

Constructor Summary
          Creates a new instance of RootdSyntaxGenerator
Method Summary
 java.lang.String generateSyntax(Job job)
          Build the string used to describe node priority.
 java.lang.String getOtherNodes()
 void setOtherNodes(java.lang.String otherNodes)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public LSFNodePriorityStringGenerator()
Creates a new instance of RootdSyntaxGenerator

Method Detail


public java.lang.String getOtherNodes()


public void setOtherNodes(java.lang.String otherNodes)


public java.lang.String generateSyntax(Job job)
Build the string used to describe node priority.

job - The job jobject for which the LFS priorit string will be biult
LSF node priority string

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