|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.driver.engine.Cycle
public abstract class Cycle
Super class of all distributions.
Constructor Summary | |
---|---|
Cycle()
|
Method Summary | |
---|---|
Object |
clone()
Makes a deep copy of this cycle object. |
abstract long |
getDelay(Random random)
Randoms/calculates the delay time for a thread based on its supplied random number generator and the actual conditions in the distribution. |
abstract double |
getHistogramMax()
Provides the maximum value to be represented inside a histogram. |
abstract void |
init(Annotation a)
Initializes this cycle according to the annotation. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cycle()
Method Detail |
---|
public Object clone()
clone
in class Object
Object.clone()
public abstract void init(Annotation a) throws DefinitionException
a
- The annotation
DefinitionException
- If there is an error in the annotationpublic abstract long getDelay(Random random)
random
- The random number generator used
public abstract double getHistogramMax()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |