| Constructor and Description |
|---|
StaffPoolImpl(String processId,
org.kie.api.definition.process.Node element,
double simulationDuration) |
| Modifier and Type | Method and Description |
|---|---|
long |
allocate(long startTime) |
protected long |
allocate(long startTime,
long duration) |
long |
allocate(long startTime,
org.kie.api.definition.process.Node element) |
protected List<Long> |
findAllocatedRange(long stringTime) |
TimeUnit |
getElementTimeUnit() |
double |
getResourceCost() |
double |
getResourceUtilization() |
public StaffPoolImpl(String processId, org.kie.api.definition.process.Node element, double simulationDuration)
protected long allocate(long startTime,
long duration)
public long allocate(long startTime,
org.kie.api.definition.process.Node element)
public double getResourceUtilization()
getResourceUtilization in interface StaffPoolpublic double getResourceCost()
getResourceCost in interface StaffPoolpublic TimeUnit getElementTimeUnit()
getElementTimeUnit in interface StaffPoolCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.