Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Lightweight Bartering Grid
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## lbg.peer.strategy.scheduling.preemption
Class FullCancellation

    java.lang.Object
      lbg.peer.strategy.scheduling.preemption.FullCancellation

All Implemented Interfaces:
  SupplyingRunningPreemptionPolicy

    public class FullCancellation

extends java.lang.Object
implements SupplyingRunningPreemptionPolicy

Fully cancelling Preemption (all Supplying Tasks are dequeued).

Author:
  Cyril Briquet

Constructor Summary
`FullCancellation(Peer managed_peer, Scheduler scheduler)`

Method Summary
`void` | `preemptLocalResources(Task prioritary_task)` SupplyingRunningPreemptionPolicy implementation.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FullCancellation

    public FullCancellation(Peer managed_peer,
                            Scheduler scheduler)
                     throws GridException

Throws:
  `GridException`

Method Detail

### preemptLocalResources

    public void preemptLocalResources(Task prioritary_task)
                               throws GridException

  SupplyingRunningPreemptionPolicy implementation. As a side effect, all waiting Supplying Tasks are cancelled.

  Specified by:
    `preemptLocalResources` in interface `SupplyingRunningPreemptionPolicy`
  Throws:
    `GridException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Lightweight Bartering Grid
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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