MailboxPathLock should be an interface and pluggable
----------------------------------------------------

                 Key: IMAP-234
                 URL: https://issues.apache.org/jira/browse/IMAP-234
             Project: JAMES Imap
          Issue Type: Improvement
          Components: JCR Mailbox, JPA Mailbox, Mailbox, Maildir Mailbox
    Affects Versions: 0.2-M1, 0.1
            Reporter: Norman Maurer
             Fix For: 0.2


In StoreMailboxManager we use the MailboxPathLock to ensure that some 
operations are synchronized across MailboxPath instances. This is done to be 
sure we generate the right error codes on failure. At the moment we just 
instance a MailboxPathLock object and use it for this purpose. However we 
should allow to inject a custom MailboxPathLock implementation and use it. This 
will allow the developer to make it possible to use and optimized 
implementation for his need or even use a distributed locking mechanismn to run 
the mailbox in a clustered enviroment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to