tassl.workflow.resources
Class Node

java.lang.Object
  extended by tassl.workflow.resources.Node
All Implemented Interfaces:
java.io.Serializable

public class Node
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Node(int worker, double c, double perf)
           
 
Method Summary
 void decrementActiveWorkers(int numWorkers)
           
 int getActiveWorkers()
           
 double getCost()
           
 int getFreePort()
           
 boolean getIsUp()
           
 int getMaxPort()
           
 int getMinPort()
           
 java.lang.String getName()
           
 double getPerformance()
           
 int getTotalWorkers()
           
 void releasePort(java.lang.Integer port)
           
 void setActiveWorkers(int activeWorkers)
           
 void setCost(double cost)
           
 void setIsUp(boolean status)
           
 void setMaxPort(int maxPort)
           
 void setMinPort(int minPort)
           
 void setName(java.lang.String name)
           
 void setPerformance(double performance)
           
 void setTotalWorkers(int totalWorkers)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(int worker,
            double c,
            double perf)
Method Detail

getName

public java.lang.String getName()

getIsUp

public boolean getIsUp()

getPerformance

public double getPerformance()

getCost

public double getCost()

getTotalWorkers

public int getTotalWorkers()

getMinPort

public int getMinPort()

getMaxPort

public int getMaxPort()

getActiveWorkers

public int getActiveWorkers()

setMinPort

public void setMinPort(int minPort)

setMaxPort

public void setMaxPort(int maxPort)

setIsUp

public void setIsUp(boolean status)

setPerformance

public void setPerformance(double performance)

setCost

public void setCost(double cost)

setTotalWorkers

public void setTotalWorkers(int totalWorkers)

setActiveWorkers

public void setActiveWorkers(int activeWorkers)

decrementActiveWorkers

public void decrementActiveWorkers(int numWorkers)

setName

public void setName(java.lang.String name)

getFreePort

public int getFreePort()

releasePort

public void releasePort(java.lang.Integer port)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object