|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ResourcePartition
public class ResourcePartition
This class represents a resource partition for a multiple-partition based availability profile.
PartProfile
,
PartitionPredicate
Constructor Summary | |
---|---|
ResourcePartition(int queueId,
int numPE,
PartitionPredicate predicate)
Creates a new ResourcePartition object. |
Method Summary | |
---|---|
int |
getInitialNumPEs()
Gets the number of PEs initially assigned to the partition |
int |
getPartitionId()
Gets the partition ID |
PartitionPredicate |
getPredicate()
Gets the predicate of this partition |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourcePartition(int queueId, int numPE, PartitionPredicate predicate)
queueId
- the partition IDnumPE
- the number of PEs initially assigned to the partitionpredicate
- the queue predicatePartitionPredicate
Method Detail |
---|
public final int getPartitionId()
public final int getInitialNumPEs()
public final PartitionPredicate getPredicate()
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |