Package io.hyperfoil.api.config
Class Sequence
- java.lang.Object
-
- io.hyperfoil.api.config.Sequence
-
- All Implemented Interfaces:
java.io.Serializable
public class Sequence extends java.lang.Object implements java.io.SerializableSequences are a series of one or moreStep's that perform one logical unit of operation. Steps within a Sequence are executed in order. State is shared between sequences via theSession. This allows sequences to pass request scoped state betweenStepinvocations.Sequences form the basis of a timed operation.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intconcurrency()intid()java.lang.Stringname()intoffset()voidreserve(Session session)Step[]steps()
-
-
-
Constructor Detail
-
Sequence
public Sequence(java.lang.String name, int id, int concurrency, int offset, Step[] steps)
-
-
Method Detail
-
id
public int id()
-
concurrency
public int concurrency()
-
offset
public int offset()
- Returns:
- Index for first instance for cases where we need an array of all concurrent instances.
-
reserve
public void reserve(Session session)
-
name
public java.lang.String name()
-
steps
public Step[] steps()
-
-