Lightweight Bartering Grid

lbg.peer.strategy.scheduling.consumption
Class NoConsumptionScheduling

java.lang.Object
  extended by lbg.peer.strategy.scheduling.consumption.NoConsumptionScheduling
All Implemented Interfaces:
ConsumptionSchedulingPolicy

public class NoConsumptionScheduling
extends java.lang.Object
implements ConsumptionSchedulingPolicy

No Consumption Scheduling.

Author:
Cyril Briquet

Constructor Summary
NoConsumptionScheduling(Peer managed_peer, Scheduler scheduler)
           
 
Method Summary
 int scheduleConsumptionTasks()
          ConsumptionSchedulingPolicy implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoConsumptionScheduling

public NoConsumptionScheduling(Peer managed_peer,
                               Scheduler scheduler)
                        throws GridException
Throws:
GridException
Method Detail

scheduleConsumptionTasks

public int scheduleConsumptionTasks()
                             throws GridException
ConsumptionSchedulingPolicy implementation.

Specified by:
scheduleConsumptionTasks in interface ConsumptionSchedulingPolicy
Returns:
zero, as no Consumption Task has been scheduled
Throws:
GridException

Lightweight Bartering Grid

Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.