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 StaffPool
public double getResourceCost()
getResourceCost
in interface StaffPool
public TimeUnit getElementTimeUnit()
getElementTimeUnit
in interface StaffPool
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.