public interface IDGenerator
Notice that while the bindings and messages journals are independent from one another they use
the same IDGenerator
instance.
The next recordID should be persisted in the journals during a normal shutdown. The lack of such
a record indicates a server crash. During server restart, if the journals lack a
next-recordID record, we use the last recorded ID plus MAX_INT
.
Modifier and Type | Method and Description |
---|---|
long |
generateID() |
long |
getCurrentID() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.