com.openexchange.mail.cache
Class MailPrefetcherCallable

java.lang.Object
  extended by com.openexchange.mail.cache.MailPrefetcherCallable
All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Object>

public final class MailPrefetcherCallable
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Object>

MailPrefetcherCallable - The mail prefetcher callable.

Author:
Thorben Betten

Constructor Summary
MailPrefetcherCallable(com.openexchange.session.Session session, int accountId, java.lang.String fullname, java.lang.String[] mailIds, boolean overwrite, com.openexchange.threadpool.ThreadPoolService threadPool)
          Initializes a new MailPrefetcherCallable.
 
Method Summary
 java.lang.Object call()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailPrefetcherCallable

public MailPrefetcherCallable(com.openexchange.session.Session session,
                              int accountId,
                              java.lang.String fullname,
                              java.lang.String[] mailIds,
                              boolean overwrite,
                              com.openexchange.threadpool.ThreadPoolService threadPool)
Initializes a new MailPrefetcherCallable.

Parameters:
session - The session providing needed user information
accountId - he account ID
fullname - The folder's fullname
mailIds - The mail IDs
overwrite - true to allow messages being overridden; otherwise false
threadPool - The (optional) thread pool service reference; may be null
Method Detail

call

public java.lang.Object call()
                      throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<java.lang.Object>
Throws:
java.lang.Exception