org.globus.mds.glue.batchprovider
Class QueueType

java.lang.Object
  extended byorg.globus.mds.glue.batchprovider.QueueType
All Implemented Interfaces:
AnyContentType, Serializable

public class QueueType
extends Object
implements Serializable, AnyContentType

Contains information about one queue.

See Also:
Serialized Form

Constructor Summary
QueueType()
           
QueueType(IntUnlimitedUnknownType totalnodes, IntUnlimitedUnknownType freenodes, IntUnlimitedUnknownType totalJobs, IntUnlimitedUnknownType runningJobs, IntUnlimitedUnknownType maxtime, IntUnlimitedUnknownType maxCPUtime, IntUnlimitedUnknownType maxCount, IntUnlimitedUnknownType maxReqNodes, IntUnlimitedUnknownType maxRunningJobs, IntUnlimitedUnknownType maxJobsInQueue, IntUnlimitedUnknownType maxTotalMemory, IntUnlimitedUnknownType maxSingleMemory, IntUnlimitedUnknownType whenActive, String status, String dispatchType, MessageElement[] _any, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 MessageElement[] get_any()
          Gets the _any value for this QueueType.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getDispatchType()
          Gets the dispatchType value for this QueueType.
 IntUnlimitedUnknownType getFreenodes()
          Gets the freenodes value for this QueueType.
 IntUnlimitedUnknownType getMaxCount()
          Gets the maxCount value for this QueueType.
 IntUnlimitedUnknownType getMaxCPUtime()
          Gets the maxCPUtime value for this QueueType.
 IntUnlimitedUnknownType getMaxJobsInQueue()
          Gets the maxJobsInQueue value for this QueueType.
 IntUnlimitedUnknownType getMaxReqNodes()
          Gets the maxReqNodes value for this QueueType.
 IntUnlimitedUnknownType getMaxRunningJobs()
          Gets the maxRunningJobs value for this QueueType.
 IntUnlimitedUnknownType getMaxSingleMemory()
          Gets the maxSingleMemory value for this QueueType.
 IntUnlimitedUnknownType getMaxtime()
          Gets the maxtime value for this QueueType.
 IntUnlimitedUnknownType getMaxTotalMemory()
          Gets the maxTotalMemory value for this QueueType.
 String getName()
          Gets the name value for this QueueType.
 IntUnlimitedUnknownType getRunningJobs()
          Gets the runningJobs value for this QueueType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getStatus()
          Gets the status value for this QueueType.
 IntUnlimitedUnknownType getTotalJobs()
          Gets the totalJobs value for this QueueType.
 IntUnlimitedUnknownType getTotalnodes()
          Gets the totalnodes value for this QueueType.
static TypeDesc getTypeDesc()
          Return type metadata object
 IntUnlimitedUnknownType getWhenActive()
          Gets the whenActive value for this QueueType.
 int hashCode()
           
 void set_any(MessageElement[] _any)
          Sets the _any value for this QueueType.
 void setDispatchType(String dispatchType)
          Sets the dispatchType value for this QueueType.
 void setFreenodes(IntUnlimitedUnknownType freenodes)
          Sets the freenodes value for this QueueType.
 void setMaxCount(IntUnlimitedUnknownType maxCount)
          Sets the maxCount value for this QueueType.
 void setMaxCPUtime(IntUnlimitedUnknownType maxCPUtime)
          Sets the maxCPUtime value for this QueueType.
 void setMaxJobsInQueue(IntUnlimitedUnknownType maxJobsInQueue)
          Sets the maxJobsInQueue value for this QueueType.
 void setMaxReqNodes(IntUnlimitedUnknownType maxReqNodes)
          Sets the maxReqNodes value for this QueueType.
 void setMaxRunningJobs(IntUnlimitedUnknownType maxRunningJobs)
          Sets the maxRunningJobs value for this QueueType.
 void setMaxSingleMemory(IntUnlimitedUnknownType maxSingleMemory)
          Sets the maxSingleMemory value for this QueueType.
 void setMaxtime(IntUnlimitedUnknownType maxtime)
          Sets the maxtime value for this QueueType.
 void setMaxTotalMemory(IntUnlimitedUnknownType maxTotalMemory)
          Sets the maxTotalMemory value for this QueueType.
 void setName(String name)
          Sets the name value for this QueueType.
 void setRunningJobs(IntUnlimitedUnknownType runningJobs)
          Sets the runningJobs value for this QueueType.
 void setStatus(String status)
          Sets the status value for this QueueType.
 void setTotalJobs(IntUnlimitedUnknownType totalJobs)
          Sets the totalJobs value for this QueueType.
 void setTotalnodes(IntUnlimitedUnknownType totalnodes)
          Sets the totalnodes value for this QueueType.
 void setWhenActive(IntUnlimitedUnknownType whenActive)
          Sets the whenActive value for this QueueType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueType

public QueueType()

QueueType

public QueueType(IntUnlimitedUnknownType totalnodes,
                 IntUnlimitedUnknownType freenodes,
                 IntUnlimitedUnknownType totalJobs,
                 IntUnlimitedUnknownType runningJobs,
                 IntUnlimitedUnknownType maxtime,
                 IntUnlimitedUnknownType maxCPUtime,
                 IntUnlimitedUnknownType maxCount,
                 IntUnlimitedUnknownType maxReqNodes,
                 IntUnlimitedUnknownType maxRunningJobs,
                 IntUnlimitedUnknownType maxJobsInQueue,
                 IntUnlimitedUnknownType maxTotalMemory,
                 IntUnlimitedUnknownType maxSingleMemory,
                 IntUnlimitedUnknownType whenActive,
                 String status,
                 String dispatchType,
                 MessageElement[] _any,
                 String name)
Method Detail

getTotalnodes

public IntUnlimitedUnknownType getTotalnodes()
Gets the totalnodes value for this QueueType.

Returns:
totalnodes

setTotalnodes

public void setTotalnodes(IntUnlimitedUnknownType totalnodes)
Sets the totalnodes value for this QueueType.

Parameters:
totalnodes -

getFreenodes

public IntUnlimitedUnknownType getFreenodes()
Gets the freenodes value for this QueueType.

Returns:
freenodes

setFreenodes

public void setFreenodes(IntUnlimitedUnknownType freenodes)
Sets the freenodes value for this QueueType.

Parameters:
freenodes -

getTotalJobs

public IntUnlimitedUnknownType getTotalJobs()
Gets the totalJobs value for this QueueType.

Returns:
totalJobs * cannot be unlimited

setTotalJobs

public void setTotalJobs(IntUnlimitedUnknownType totalJobs)
Sets the totalJobs value for this QueueType.

Parameters:
totalJobs - * cannot be unlimited

getRunningJobs

public IntUnlimitedUnknownType getRunningJobs()
Gets the runningJobs value for this QueueType.

Returns:
runningJobs * cannot be unlimited

setRunningJobs

public void setRunningJobs(IntUnlimitedUnknownType runningJobs)
Sets the runningJobs value for this QueueType.

Parameters:
runningJobs - * cannot be unlimited

getMaxtime

public IntUnlimitedUnknownType getMaxtime()
Gets the maxtime value for this QueueType.

Returns:
maxtime * units: minutes

setMaxtime

public void setMaxtime(IntUnlimitedUnknownType maxtime)
Sets the maxtime value for this QueueType.

Parameters:
maxtime - * units: minutes

getMaxCPUtime

public IntUnlimitedUnknownType getMaxCPUtime()
Gets the maxCPUtime value for this QueueType.

Returns:
maxCPUtime * units: minutes

setMaxCPUtime

public void setMaxCPUtime(IntUnlimitedUnknownType maxCPUtime)
Sets the maxCPUtime value for this QueueType.

Parameters:
maxCPUtime - * units: minutes

getMaxCount

public IntUnlimitedUnknownType getMaxCount()
Gets the maxCount value for this QueueType.

Returns:
maxCount * units: processes

setMaxCount

public void setMaxCount(IntUnlimitedUnknownType maxCount)
Sets the maxCount value for this QueueType.

Parameters:
maxCount - * units: processes

getMaxReqNodes

public IntUnlimitedUnknownType getMaxReqNodes()
Gets the maxReqNodes value for this QueueType.

Returns:
maxReqNodes * units: hosts/nodes (could be multi-processor nodes)

setMaxReqNodes

public void setMaxReqNodes(IntUnlimitedUnknownType maxReqNodes)
Sets the maxReqNodes value for this QueueType.

Parameters:
maxReqNodes - * units: hosts/nodes (could be multi-processor nodes)

getMaxRunningJobs

public IntUnlimitedUnknownType getMaxRunningJobs()
Gets the maxRunningJobs value for this QueueType.

Returns:
maxRunningJobs * units: number of jobs

setMaxRunningJobs

public void setMaxRunningJobs(IntUnlimitedUnknownType maxRunningJobs)
Sets the maxRunningJobs value for this QueueType.

Parameters:
maxRunningJobs - * units: number of jobs

getMaxJobsInQueue

public IntUnlimitedUnknownType getMaxJobsInQueue()
Gets the maxJobsInQueue value for this QueueType.

Returns:
maxJobsInQueue * units: number of jobs

setMaxJobsInQueue

public void setMaxJobsInQueue(IntUnlimitedUnknownType maxJobsInQueue)
Sets the maxJobsInQueue value for this QueueType.

Parameters:
maxJobsInQueue - * units: number of jobs

getMaxTotalMemory

public IntUnlimitedUnknownType getMaxTotalMemory()
Gets the maxTotalMemory value for this QueueType.

Returns:
maxTotalMemory * units: megabytes

setMaxTotalMemory

public void setMaxTotalMemory(IntUnlimitedUnknownType maxTotalMemory)
Sets the maxTotalMemory value for this QueueType.

Parameters:
maxTotalMemory - * units: megabytes

getMaxSingleMemory

public IntUnlimitedUnknownType getMaxSingleMemory()
Gets the maxSingleMemory value for this QueueType.

Returns:
maxSingleMemory * units: megabytes

setMaxSingleMemory

public void setMaxSingleMemory(IntUnlimitedUnknownType maxSingleMemory)
Sets the maxSingleMemory value for this QueueType.

Parameters:
maxSingleMemory - * units: megabytes

getWhenActive

public IntUnlimitedUnknownType getWhenActive()
Gets the whenActive value for this QueueType.

Returns:
whenActive

setWhenActive

public void setWhenActive(IntUnlimitedUnknownType whenActive)
Sets the whenActive value for this QueueType.

Parameters:
whenActive -

getStatus

public String getStatus()
Gets the status value for this QueueType.

Returns:
status * Possible values are 'enabled' or 'disabled'

setStatus

public void setStatus(String status)
Sets the status value for this QueueType.

Parameters:
status - * Possible values are 'enabled' or 'disabled'

getDispatchType

public String getDispatchType()
Gets the dispatchType value for this QueueType.

Returns:
dispatchType * stu says: I am not even sure what dispatch type is for. All the scripts have a hard coded "batch". maybe this should be removed.

setDispatchType

public void setDispatchType(String dispatchType)
Sets the dispatchType value for this QueueType.

Parameters:
dispatchType - * stu says: I am not even sure what dispatch type is for. All the scripts have a hard coded "batch". maybe this should be removed.

get_any

public MessageElement[] get_any()
Gets the _any value for this QueueType.

Specified by:
get_any in interface AnyContentType
Returns:
_any

set_any

public void set_any(MessageElement[] _any)
Sets the _any value for this QueueType.

Specified by:
set_any in interface AnyContentType
Parameters:
_any -

getName

public String getName()
Gets the name value for this QueueType.

Returns:
name

setName

public void setName(String name)
Sets the name value for this QueueType.

Parameters:
name -

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

getTypeDesc

public static TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static Serializer getSerializer(String mechType,
                                       Class _javaType,
                                       QName _xmlType)
Get Custom Serializer


getDeserializer

public static Deserializer getDeserializer(String mechType,
                                           Class _javaType,
                                           QName _xmlType)
Get Custom Deserializer



Copyright © 1999-2006 University of Chicago. All rights reserved.