org.apache.james.mailbox.jpa.mail
Class JPACachingUidProvider
java.lang.Object
org.apache.james.mailbox.store.mail.CachingUidProvider<Long>
org.apache.james.mailbox.jpa.mail.JPACachingUidProvider
- All Implemented Interfaces:
- UidProvider<Long>
public class JPACachingUidProvider
- extends CachingUidProvider<Long>
Lazy-lookup last used uid via JPA
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPACachingUidProvider
public JPACachingUidProvider(javax.persistence.EntityManagerFactory factory)
getLastUid
protected long getLastUid(MailboxSession session,
Mailbox<Long> mailbox)
throws MailboxException
- Specified by:
getLastUid in class CachingUidProvider<Long>
- Throws:
MailboxException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.