public class SequenceManager extends Object
Constructor and Description |
---|
SequenceManager() |
Modifier and Type | Method and Description |
---|---|
void |
addSequence(String id,
Sequence sequence)
Registers a new sequence in the registry.
|
Properties |
getSnapshot()
Gets a snapshot of current next values of all sequences in the registry using
Sequence.publishNext(String, Properties) . |
public void addSequence(String id, Sequence sequence) throws PerfCakeException
id
- Sequence id.sequence
- Sequence instance.PerfCakeException
- When it was not possible to properly initialize the newly added sequence.public Properties getSnapshot()
Sequence.publishNext(String, Properties)
.Copyright © 2010–2017 PerfCake Community. All rights reserved.