Lightweight Bartering Grid

lbg.peer.strategy.scheduling.preemption
Class FavorsWaitingPreemption

java.lang.Object
  extended by lbg.peer.strategy.scheduling.preemption.FavorsWaitingPreemption
All Implemented Interfaces:
SupplyingWaitingPreemptionPolicy

public class FavorsWaitingPreemption
extends java.lang.Object
implements SupplyingWaitingPreemptionPolicy

NoF-based selection of waiting Supplying Tasks to dequeue.

Author:
Cyril Briquet

Constructor Summary
FavorsWaitingPreemption(Peer managed_peer)
           
 
Method Summary
 void preemptWaitingSupplyingTasks()
          SupplyingWaitingPreemptionPolicy implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FavorsWaitingPreemption

public FavorsWaitingPreemption(Peer managed_peer)
                        throws GridException
Throws:
GridException
Method Detail

preemptWaitingSupplyingTasks

public void preemptWaitingSupplyingTasks()
                                  throws GridException
SupplyingWaitingPreemptionPolicy implementation.

Specified by:
preemptWaitingSupplyingTasks in interface SupplyingWaitingPreemptionPolicy
Throws:
GridException

Lightweight Bartering Grid

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