|
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.ReliableMLConsumptionScheduling
public class ReliableMLConsumptionScheduling
Reliability-ranked use of Consumption Grants.
| Constructor Summary | |
|---|---|
ReliableMLConsumptionScheduling(Peer managed_peer,
Scheduler scheduler)
|
|
| Method Summary | |
|---|---|
protected LocalQueueCursor |
getLocalQueueCursor()
Local Queue Cursor accessor. |
protected Ranking |
rankSuppliers(ConsumptionGrantsContainer c_g,
RequestContainer rc)
Rank Suppliers. |
int |
scheduleConsumptionTasks()
ConsumptionSchedulingPolicy implementation. |
java.lang.String |
toString()
|
| Methods inherited from class lbg.peer.strategy.scheduling.consumption.CommonConsumptionScheduling |
|---|
assertConsumptionGrantsAvailability, scheduleFirstConsumptionTask, scheduleNextConsumptionTask |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReliableMLConsumptionScheduling(Peer managed_peer,
Scheduler scheduler)
throws GridException
GridException| Method Detail |
|---|
public java.lang.String toString()
toString in class CommonConsumptionScheduling
public int scheduleConsumptionTasks()
throws GridException
Note: this implementation updates the target Tasks scheduling contexts.
scheduleConsumptionTasks in interface ConsumptionSchedulingPolicyscheduleConsumptionTasks in class CommonConsumptionSchedulingGridException - if an error occurs
while using Consumption Grants to schedule Consumption Tasks
protected Ranking rankSuppliers(ConsumptionGrantsContainer c_g,
RequestContainer rc)
throws GridException
rankSuppliers in class CommonConsumptionSchedulingc_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.