Skip to content

Implemented spinwaiting

Compare
Choose a tag to compare
@RobThree RobThree released this 02 Jul 12:18
· 46 commits to master since this release
dd03e48

The IdGenerator now offers a spinwaiting strategy when a sequenceoverflow occurs instead of throwing a SequenceOverflowException. This will spinwait until the next tick and then return a new Id. New constructoroverloads have been added to be able to set this property at construction time. Also the configuration package supports this new option with a useSpinWait attribute on the idGenerator element.