You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/11/25 21:01:36 UTC

[jira] Resolved: (IMAP-234) MailboxPathLock should be an interface and pluggable

     [ https://issues.apache.org/jira/browse/IMAP-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-234.
--------------------------------

    Resolution: Fixed
      Assignee: Norman Maurer

done

> 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.1, 0.2-M1
>            Reporter: Norman Maurer
>            Assignee: 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org