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 
EmailAccounts- Since:
- 9.2
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptioncall()getStats()static jakarta.mail.StoregetStore(EmailAccount account) voidvoidprocessAccount(EmailAccount account) voidsetStats(CrawlStats stats) 
- 
Field Details- 
COUNTER_SEQUENCE- See Also:
 
 
- 
- 
Method Details- 
call- Specified by:
- callin interface- Callable<CrawlStats>
- Throws:
- Exception
 
- 
processAccountpublic void processAccount(EmailAccount account) throws jakarta.mail.MessagingException, IOException - Throws:
- jakarta.mail.MessagingException
- IOException
 
- 
getStorepublic static jakarta.mail.Store getStore(EmailAccount account) throws jakarta.mail.MessagingException, IOException - Throws:
- jakarta.mail.MessagingException
- IOException
 
- 
getStats
- 
setStats
- 
interruptpublic void interrupt()
 
-