lbg.peer.strategy.accounting
Class NoEvalAccountant
java.lang.Object
lbg.peer.strategy.accounting.NoEvalAccountant
- All Implemented Interfaces:
- BarteringAccountantPolicy
public class NoEvalAccountant
- extends java.lang.Object
- implements BarteringAccountantPolicy
Implementation note:
this implementation does not rely on any information.
- Author:
- Cyril Briquet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NoEvalAccountant
public NoEvalAccountant(Peer managed_peer)
throws GridException
- Throws:
GridException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
evaluateSupplying
public double evaluateSupplying(Task t,
long xstart_time)
throws GridException
- BarteringAccountant implementation.
- Specified by:
evaluateSupplying
in interface BarteringAccountantPolicy
- Returns:
- 0.0
- Throws:
GridException
evaluateConsumption
public double evaluateConsumption(Task t,
long xstart_time)
throws GridException
- BarteringAccountant implementation.
- Specified by:
evaluateConsumption
in interface BarteringAccountantPolicy
- Returns:
- 0.0
- Throws:
GridException
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.