Class EmailCacheManager


  • public class EmailCacheManager
    extends Object
    Handles the cache used to download the email messages downloaded from the SMTP server.
    Since:
    4.0
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • EmailCacheManager

        public EmailCacheManager()
    • Method Detail

      • getCache

        public EmailCache getCache​(long accountId)
                            throws IOException
        Retrieves the cache for the specified email account
        Parameters:
        accountId - identifier of the account
        Returns:
        the cache of the account
        Throws:
        IOException - the cache file cannot be read