james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (IMAP-64) OPTIMISE fetch command
Date Wed, 15 Jun 2011 10:46:47 GMT

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

Norman Maurer commented on IMAP-64:
-----------------------------------

Maybe something like this:

public enum FetchType {

    /**
     * Fetch only the meta data of the {@link Message} which includes:
     * <p>
     *  {@link Message#getUid()}
     *  {@link Message#getModSeq()}
     *  {@link Message#getBodyOctets()}
     *  {@link Message#getFullContentOctets()}
     *  {@link Message#getInternalDate()}
     *  {@link Message#getMailboxId()}
     *  {@link Message#getMediaType()}
     *  {@link Message#getModSeq()}
     *  {@link Message#getSubType()}
     *  {@link Message#getTextualLineCount()}
     * </p>
     */
    Metadata,
    /**
     * Fetch the {@link #Metadata} and the {@link Header}'s for the {@link Message}. This
includes:
     * 
     * <p>
     * {@link Message#getHeaders()}
     * </p>
     */
    Headers,
    /**
     * Fetch the {@link #Metadata} and the Body for the {@link Message}. This includes:
     * 
     * <p>
     *  {@link Message#getBodyContent()}
     * </p>
     */
    Body,
    
    /**
     * Fetch the complete {@link Message}
     * 
     */
    Full
}

> OPTIMISE fetch command
> ----------------------
>
>                 Key: IMAP-64
>                 URL: https://issues.apache.org/jira/browse/IMAP-64
>             Project: JAMES Imap
>          Issue Type: Task
>            Reporter: Robert Burrell Donkin
>            Assignee: Robert Burrell Donkin
>
> ATM fetch retrieves and parses the full contents of every message whether this data is
needed or not. This is very slow.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message