|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbg.peer.strategy.scheduling.consumption.CommonConsumptionScheduling
lbg.peer.strategy.scheduling.consumption.DataConsumptionScheduling
public class DataConsumptionScheduling
Storage Affinity-ranked use of Consumption Grants.
Constructor Summary | |
---|---|
DataConsumptionScheduling(Peer managed_peer,
Scheduler scheduler)
|
Method Summary | |
---|---|
protected LocalQueueCursor |
getLocalQueueCursor()
Local Queue Cursor accessor. |
protected Ranking |
rankSuppliers(ConsumptionGrantsContainer c_g,
RequestContainer rc)
Rank Suppliers. |
java.lang.String |
toString()
|
Methods inherited from class lbg.peer.strategy.scheduling.consumption.CommonConsumptionScheduling |
---|
assertConsumptionGrantsAvailability, scheduleConsumptionTasks, scheduleFirstConsumptionTask, scheduleNextConsumptionTask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface lbg.peer.strategy.scheduling.ConsumptionSchedulingPolicy |
---|
scheduleConsumptionTasks |
Constructor Detail |
---|
public DataConsumptionScheduling(Peer managed_peer, Scheduler scheduler) throws GridException
GridException
Method Detail |
---|
public java.lang.String toString()
toString
in class CommonConsumptionScheduling
protected Ranking rankSuppliers(ConsumptionGrantsContainer c_g, RequestContainer rc) throws GridException
rankSuppliers
in class CommonConsumptionScheduling
c_g
- collected Consumption Grants containerrc
- target Task container
GridException
- if a problem occured while ranking Suppliersprotected LocalQueueCursor getLocalQueueCursor()
getLocalQueueCursor
in class CommonConsumptionScheduling
|
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.