dvNextSequence function
A number larger than any this process has handed out, and than the clock in microseconds, so a restarted process carries on above the last one.
Implementation
int dvNextSequence() {
final int now = DateTime.now().microsecondsSinceEpoch;
_last = now > _last ? now : _last + 1;
return _last;
}