org.jbpm.sim.def
Class ResourcePool

java.lang.Object
  extended by org.jbpm.sim.def.ResourcePool

public class ResourcePool
extends java.lang.Object


Constructor Summary
ResourcePool(JbpmSimulationModel owner, java.lang.String poolName, int capacity, double costPerTimeUnit)
           
 
Method Summary
 int getAvailableResources()
           
 desmoj.core.statistic.TimeSeries getAvailableResourceTimeSeries()
           
 int getCapacity()
           
 double getCostPerTimeUnit()
           
 java.lang.String getName()
           
 desmoj.core.simulator.Queue getPool()
           
 java.lang.String getPoolName()
           
 desmoj.core.simulator.Queue getResourceQueue()
           
 desmoj.core.statistic.Tally getWaitTimeTally()
           
 desmoj.core.statistic.Tally getWorkTimeTally()
           
 void setCostPerTimeUnit(double costPerTimeUnit)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourcePool

public ResourcePool(JbpmSimulationModel owner,
                    java.lang.String poolName,
                    int capacity,
                    double costPerTimeUnit)
Method Detail

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 © 2010 JBoss Community. All Rights Reserved.