Lightweight Bartering Grid

lbg.peer.strategy.scheduling.preemption
Class FullWaitingPreemption

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

public class FullWaitingPreemption
extends java.lang.Object
implements SupplyingWaitingPreemptionPolicy

Selection of all waiting Supplying Tasks to dequeue.

Author:
Cyril Briquet

Constructor Summary
FullWaitingPreemption(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

FullWaitingPreemption

public FullWaitingPreemption(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.