org.almendra.janet.ade.distributor
Class WorkstationLoadImage
java.lang.Object
org.almendra.janet.ade.distributor.DistributorAnchorHolder
org.almendra.janet.ade.distributor.WorkstationLoadImage
public class WorkstationLoadImage
- extends DistributorAnchorHolder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workstationName
protected java.lang.String workstationName
nodeLoadImages
protected java.util.Map nodeLoadImages
isAboveThreshold
protected volatile boolean isAboveThreshold
nonJanetCPULoad
protected volatile int nonJanetCPULoad
WorkstationLoadImage
protected WorkstationLoadImage()
- Creates a new
WorkstationLoadImage
object.
WorkstationLoadImage
public WorkstationLoadImage(DistributorAnchor anchor,
java.lang.String workstationName)
- Creates a new
WorkstationLoadImage
object.
addNodeLoadImage
public void addNodeLoadImage(NodeLoadImage nodeLoadImage)
removeNodeLoadImage
public NodeLoadImage removeNodeLoadImage(java.lang.String nodeName)
addNodeLoadImage
public void addNodeLoadImage(java.lang.String nodeName)
getNodeLoadImage
public NodeLoadImage getNodeLoadImage(java.lang.String nodeName)
getWorkstationName
public java.lang.String getWorkstationName()
- Returns:
- Returns the workstationName.
getProduct
public int getProduct()
- Returns:
getNodeLoadImages
public java.util.List getNodeLoadImages()
getNodeNames
public java.util.List getNodeNames()
isAboveThreshold
public boolean isAboveThreshold()
- Returns:
- Returns the isAboveThreshold.
setAboveThreshold
public void setAboveThreshold(boolean isAboveThreshold)
- Parameters:
isAboveThreshold
- The isAboveThreshold to set.
getQSCProduct
public int getQSCProduct()
removeAllNodes
protected void removeAllNodes()
hasNodes
public boolean hasNodes()
- Returns:
removeNodeLoadImagesNamed
public void removeNodeLoadImagesNamed(java.util.List nodeNames)
- Parameters:
nodeNames
-
getCapabilityQueueSize
public int getCapabilityQueueSize(java.lang.String nodeName,
LocalCapabilityPath path)
- Parameters:
string
- path
-
- Returns:
isIdle
public boolean isIdle()
- Returns:
getAvailableNodeNamesWithQSC0
public java.util.List getAvailableNodeNamesWithQSC0()
- Returns:
setNonJanetCPULoad
public void setNonJanetCPULoad(int nonJanetCPULoad)
- Parameters:
nonJanetCPULoad
-
getNonJanetCPULoad
public int getNonJanetCPULoad()
- Returns:
- Returns the nonJanetCPULoad.
isBelowThreshold
public boolean isBelowThreshold()
- Returns: