jBPM Simulation 6.2.0.Final

org.jbpm.simulation.impl.ht
Class Range

java.lang.Object
  extended by org.jbpm.simulation.impl.ht.Range
All Implemented Interfaces:
Comparable<Range>

public class Range
extends Object
implements Comparable<Range>


Constructor Summary
Range(int start, int end, int resourcePoolSize)
           
 
Method Summary
 AllocatedWork allocate(long startTime, long duration)
           
 int compareTo(Range o)
           
 boolean contains(long time)
           
 org.joda.time.Interval getInterval()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Range

public Range(int start,
             int end,
             int resourcePoolSize)
Method Detail

contains

public boolean contains(long time)

allocate

public AllocatedWork allocate(long startTime,
                              long duration)

getInterval

public org.joda.time.Interval getInterval()

compareTo

public int compareTo(Range o)
Specified by:
compareTo in interface Comparable<Range>

jBPM Simulation 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.