org.jbpm.sim.def
Class ResourcePool
java.lang.Object
org.jbpm.sim.def.ResourcePool
public class ResourcePool
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResourcePool
public ResourcePool(JbpmSimulationModel owner,
java.lang.String poolName,
int capacity,
double costPerTimeUnit)
getPool
public desmoj.core.simulator.Queue getPool()
getAvailableResourceTimeSeries
public desmoj.core.statistic.TimeSeries getAvailableResourceTimeSeries()
getResourceQueue
public desmoj.core.simulator.Queue getResourceQueue()
getWaitTimeTally
public desmoj.core.statistic.Tally getWaitTimeTally()
getWorkTimeTally
public desmoj.core.statistic.Tally getWorkTimeTally()
getName
public java.lang.String getName()
getPoolName
public java.lang.String getPoolName()
getCapacity
public int getCapacity()
getAvailableResources
public int getAvailableResources()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getCostPerTimeUnit
public double getCostPerTimeUnit()
setCostPerTimeUnit
public void setCostPerTimeUnit(double costPerTimeUnit)
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.