|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.faban.driver.engine.Mix
com.sun.faban.driver.engine.FixedSequence
public class FixedSequence
The implementation of the fixed sequence annotation.
| Nested Class Summary | |
|---|---|
static class |
FixedSequence.Selector
The selector implementation for the fixed sequence. |
| Field Summary |
|---|
| Fields inherited from class com.sun.faban.driver.engine.Mix |
|---|
className |
| Constructor Summary | |
|---|---|
FixedSequence()
|
|
| Method Summary | |
|---|---|
void |
configure(Element driverConfigNode)
Configures/overrides the mix from the driverConfig DOM node read from the configuration file. |
FlatMix |
flatMix()
Returns the flat mix representation of this mix. |
void |
init(Class<?> driverClass,
Annotation a)
Initializes this mix according to the annotation. |
void |
normalize()
Normalizes the mix so it is ready for use in selections. |
FixedSequence.Selector |
selector(Random random)
Obtains the per-thread and per-driver instance selector. |
| Methods inherited from class com.sun.faban.driver.engine.Mix |
|---|
clone, getLogger, getMix |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedSequence()
| Method Detail |
|---|
public void init(Class<?> driverClass,
Annotation a)
throws DefinitionException
init in class MixdriverClass - The driver class annotating this mixa - The annotation
DefinitionException - If there is an error in the annotation
public void configure(Element driverConfigNode)
throws ConfigurationException
configure in class MixdriverConfigNode - The driverConfig DOM node
ConfigurationException - If operationMix element existspublic void normalize()
normalize in class Mixpublic FlatMix flatMix()
flatMix in class Mixpublic FixedSequence.Selector selector(Random random)
selector in class Mixrandom - The per-thread random value generator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||