|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.policy.core.util.AllotmentTable
public class AllotmentTable
| Field Summary | |
|---|---|
protected java.util.Hashtable<ID,AllotmentEntry> |
allotment
The set of machines that this request has units alloted from |
| Constructor Summary | |
|---|---|
AllotmentTable(long startTime,
long endTime)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addEntry(AllotmentEntry entry)
Add an entry to the allotment |
long[] |
findMaxResources(long[] minResources,
long[] resourceLimit)
Determine the max amount of resources that can be allocated to a request. |
long[] |
findMinAvailable(int dimensions)
|
java.util.Hashtable<ID,AllotmentEntry> |
getAllotment()
Return the hashtable of the allotments |
java.lang.String |
getIdentifiers()
|
java.util.Iterator |
iterator()
Retun an iterator |
void |
mergeAllotments(AllotmentTable merge)
|
void |
preCommit(long[] shares)
|
int |
totalUnits()
Determine the total number of units that have been allocated across the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Hashtable<ID,AllotmentEntry> allotment
| Constructor Detail |
|---|
public AllotmentTable(long startTime,
long endTime)
startTime - endTime - | Method Detail |
|---|
public void addEntry(AllotmentEntry entry)
entry -
public long[] findMaxResources(long[] minResources,
long[] resourceLimit)
public long[] findMinAvailable(int dimensions)
public void mergeAllotments(AllotmentTable merge)
public int totalUnits()
public java.lang.String getIdentifiers()
public void preCommit(long[] shares)
public java.util.Iterator iterator()
public java.util.Hashtable<ID,AllotmentEntry> getAllotment()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||