Note: Implement with a val so that it doesn't get recreated on each access
Note: Implement with a val so that it doesn't get recreated on each access
Remove all entries for pid
.
Remove all entries for pid
. It is expected that no updates for the specific persistence id happens until
this method has returned.
Return the in-mem seq-nr for a tag or load the highest seq nr for the tag from the db.
Return the in-mem seq-nr for a tag or load the highest seq nr for the tag from the db. Precondition for thread safety: there will only ever be one concurrent call for the same pid and tag (different tag/pid is fine though)
(Since version ) see corresponding Javadoc for more information.
INTERNAL API