Lightweight Bartering Grid

lbg.peer.strategy.scheduling.preemption
Class FIFOWaitingPreemption

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

public class FIFOWaitingPreemption
extends java.lang.Object
implements SupplyingWaitingPreemptionPolicy

FIFO selection of waiting Supplying Tasks to dequeue.

Author:
Cyril Briquet

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

FIFOWaitingPreemption

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