Implemented spinwaiting
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.