Package com.logicaldoc.email
Class Crawler
java.lang.Object
com.logicaldoc.email.Crawler
- All Implemented Interfaces:
Callable<CrawlStats>
A task that processes a list of
EmailAccount
s- Since:
- 9.2
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncall()
getStats()
static javax.mail.Store
getStore
(EmailAccount account) void
void
processAccount
(EmailAccount account) void
setStats
(CrawlStats stats)
-
Field Details
-
COUNTER_SEQUENCE
- See Also:
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<CrawlStats>
- Throws:
Exception
-
processAccount
- Throws:
javax.mail.MessagingException
IOException
-
getStore
public static javax.mail.Store getStore(EmailAccount account) throws javax.mail.MessagingException, IOException - Throws:
javax.mail.MessagingException
IOException
-
getStats
-
setStats
-
interrupt
public void interrupt()
-