Lightweight Bartering Grid

lbg.peer.strategy.scheduling.supplying
Class QAwareFIFOSupplyingScheduling

java.lang.Object
  extended by lbg.peer.strategy.scheduling.supplying.QAwareFIFOSupplyingScheduling
All Implemented Interfaces:
SupplyingSchedulingPolicy

public class QAwareFIFOSupplyingScheduling
extends java.lang.Object
implements SupplyingSchedulingPolicy

Queue-aware, FIFO-ranked Suppling Scheduling.

Author:
Cyril Briquet

Constructor Summary
QAwareFIFOSupplyingScheduling(Peer managed_peer, Scheduler scheduler)
           
 
Method Summary
 void scheduleSupplyingTasks()
          SupplyingSchedulingPolicy implementation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QAwareFIFOSupplyingScheduling

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

toString

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

scheduleSupplyingTasks

public void scheduleSupplyingTasks()
                            throws GridException
SupplyingSchedulingPolicy implementation.

Specified by:
scheduleSupplyingTasks in interface SupplyingSchedulingPolicy
Throws:
GridException

Lightweight Bartering Grid

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