public abstract class Cycle extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Cycle() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Makes a deep copy of this cycle object.
|
void |
configure(Element e) |
protected void |
configureSubclass(Element e) |
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.
|
protected Logger |
getLogger() |
abstract void |
init(Annotation a)
Initializes this cycle according to the annotation.
|
protected transient Logger logger
protected Logger getLogger()
public Object clone()
clone
in class Object
Object.clone()
public abstract void init(Annotation a) throws DefinitionException
a
- The annotationDefinitionException
- If there is an error in the annotationpublic abstract long getDelay(Random random)
random
- The random number generator usedpublic abstract double getHistogramMax()
public final void configure(Element e) throws ConfigurationException
ConfigurationException
protected void configureSubclass(Element e) throws ConfigurationException
ConfigurationException