com.sun.faban.driver.engine
Class Mix.Selector

java.lang.Object
  extended by com.sun.faban.driver.engine.Mix.Selector
Direct Known Subclasses:
FixedSequence.Selector, FlatMix.Selector, FlatSequenceMix.Selector, MatrixMix.Selector
Enclosing class:
Mix

public abstract static class Mix.Selector
extends Object

The per-thread selector is used in the AgentThread for selection of the operation.


Constructor Summary
Mix.Selector()
           
 
Method Summary
abstract  void reset()
          Resets the selector's state to start at the first op, if applicable.
abstract  int select()
          The select method selects the operation to run next.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mix.Selector

public Mix.Selector()
Method Detail

select

public abstract int select()
The select method selects the operation to run next.

Returns:
The operation index selected to run next

reset

public abstract void reset()
Resets the selector's state to start at the first op, if applicable.