|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.policy.core.util.AllotmentEntry
public class AllotmentEntry
| Field Summary | |
|---|---|
protected ResourceEntry |
machine
|
protected int |
units
Number of units allocated on this machine |
| Constructor Summary | |
|---|---|
AllotmentEntry(int units,
ResourceEntry machine)
Create an entry for the allotment table. |
|
| Method Summary | |
|---|---|
void |
addUnits(int newUnits)
|
ID |
getId()
Return the resource's id |
int |
getUnits()
|
long[] |
remainingSpacePerUnit()
|
long[] |
remainingSpacePerUnit(long[] demand)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ResourceEntry machine
protected int units
| Constructor Detail |
|---|
public AllotmentEntry(int units,
ResourceEntry machine)
startTime - endTime - numElements - id - units - resource - machine - | Method Detail |
|---|
public long[] remainingSpacePerUnit()
public long[] remainingSpacePerUnit(long[] demand)
public ID getId()
public int getUnits()
public void addUnits(int newUnits)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||