public interface UidProvider<Id>
Mailbox. Be aware that implementations need to be thread-safe!
|Modifier and Type||Method and Description|
Return the last uid which were used for storing a Message in the
Return the next uid which can be used while append a Message to the
long nextUid(MailboxSession session, Mailbox<Id> mailbox) throws MailboxException
Mailbox. Its important that the returned uid is higher then the last used and that the next call of this method does return a higher one
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.