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/06/30 13:31:51 UTC
[jira] Created: (IMAP-172) Cleanup JPAMailbox
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
[jira] Reopened: (IMAP-172) Cleanup JPAMailbox
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer reopened IMAP-172:
--------------------------------
> 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
[jira] Commented: (IMAP-172) Cleanup JPAMailbox
Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
[ 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
[jira] Resolved: (IMAP-172) Cleanup JPAMailbox
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-172.
--------------------------------
Resolution: Fixed
> 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
[jira] Resolved: (IMAP-172) Cleanup JPAMailbox
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-172.
--------------------------------
Resolution: Invalid
was done some days ago.. Seems like I missed to close it..
> 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