james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Charles (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (IMAP-172) Cleanup JPAMailbox
Date Sun, 11 Jul 2010 17:57:51 GMT

    [ https://issues.apache.org/jira/browse/IMAP-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887218#action_12887218

Eric Charles commented on IMAP-172:

This also implies that we have no field anymore to store the message count each time mailbox
is operated rather than recalculate it each time it is needed.
Anyway, this field was not obvious to set in a transactional way.
If we want to re-add it one day for performance reasons, we should add it on the Mailbox interface
rather than on the implementation.
So the remove is good.
Same comment for the mailbox size that would allow to implement quotas in a effective way
(to be added on the Mailbox interface).

> Cleanup JPAMailbox
> ------------------
>                 Key: IMAP-172
>                 URL: https://issues.apache.org/jira/browse/IMAP-172
>             Project: JAMES Imap
>          Issue Type: Task
>          Components: JPA Mailbox
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.1
> Remove the following fields from JPAMailbox, they are not used:
>     /** The value for the messageCount field */
>     @Basic(optional=false) private int messageCount = 0;
>     /** The value for the size field */
>     @Basic(optional=false) private long size = 0;

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

View raw message