public interface ModSeqProvider<Id>
Mailbox. Be aware that implementations need to be thread-safe!
|Modifier and Type||Method and Description|
Return the highest mod-sequence which were used for the
Return the next mod-sequence which can be used for the
long nextModSeq(MailboxSession session, Mailbox<Id> mailbox) throws MailboxException
Mailbox. Its important that the returned mod-sequence is higher then the last used and that the next call of this method does return a higher one. The first mod-seq must be >= 1
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.