org.jbpm.simulation.impl.ht
Class StaffPoolImpl
java.lang.Object
org.jbpm.simulation.impl.ht.StaffPoolImpl
- All Implemented Interfaces:
- StaffPool
public class StaffPoolImpl
- extends Object
- implements StaffPool
|
Constructor Summary |
StaffPoolImpl(String processId,
org.kie.api.definition.process.Node element,
double simulationDuration)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaffPoolImpl
public StaffPoolImpl(String processId,
org.kie.api.definition.process.Node element,
double simulationDuration)
allocate
protected long allocate(long startTime,
long duration)
allocate
public long allocate(long startTime)
- Specified by:
allocate in interface StaffPool
allocate
public long allocate(long startTime,
org.kie.api.definition.process.Node element)
- Specified by:
allocate in interface StaffPool
getResourceUtilization
public double getResourceUtilization()
- Specified by:
getResourceUtilization in interface StaffPool
getResourceCost
public double getResourceCost()
- Specified by:
getResourceCost in interface StaffPool
getElementTimeUnit
public TimeUnit getElementTimeUnit()
- Specified by:
getElementTimeUnit in interface StaffPool
findAllocatedRange
protected List<Long> findAllocatedRange(long stringTime)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.