public class FixedTime extends Cycle
Constructor and Description |
---|
FixedTime() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSubclass(Element e)
Configure the cycle based on an XML fragment from the configuration
file.
|
long |
getDelay(Random random)
Returns a delay time for the thread.
|
double |
getHistogramMax()
Provides the maximum value to be represented inside a histogram.
|
void |
init(Annotation a)
Initializes this cycle according to the annotation.
|
public void init(Annotation a) throws DefinitionException
init
in class Cycle
a
- The annotationDefinitionException
- If there is an error in the annotationpublic long getDelay(Random random)
public double getHistogramMax()
getHistogramMax
in class Cycle
protected void configureSubclass(Element e) throws ConfigurationException
min
configureSubclass
in class Cycle
ConfigurationException