com.openexchange.mail.cache
Class MailPrefetcherCallable
java.lang.Object
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 |
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 informationaccountId - he account IDfullname - The folder's fullnamemailIds - The mail IDsoverwrite - true to allow messages being overridden; otherwise falsethreadPool - The (optional) thread pool service reference; may be null
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