org.gridbus.broker.common
Class Qos

java.lang.Object
  extended by org.gridbus.broker.common.Qos

public final class Qos
extends java.lang.Object

Author:
Krishna

Constructor Summary
Qos()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 float getBudget()
           
 float getBudgetSpent()
           
 long getDeadline()
           
 int getOptimisation()
           
 long getTimeSpent()
           
 void setBudget(float budget)
           
 void setDeadline(long deadline)
           
 void setOptimisation(int optimisation)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Qos

public Qos()
Method Detail

getBudget

public float getBudget()
Returns:
Returns the budget.

setBudget

public void setBudget(float budget)
Parameters:
budget - The budget to set.

getDeadline

public long getDeadline()
Returns:
Returns the deadline.

setDeadline

public void setDeadline(long deadline)
Parameters:
deadline - The deadline to set.

getOptimisation

public int getOptimisation()
Returns:
Returns the optimisation.

setOptimisation

public void setOptimisation(int optimisation)
Parameters:
optimisation - The optimisation to set.

getBudgetSpent

public float getBudgetSpent()
Returns:
budget spent

getTimeSpent

public long getTimeSpent()
Returns:
Returns the timeSpent.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

toString

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

Copyright © The University of Melbourne. 2006