| Constructor and Description |
|---|
TextExtractorWorker() |
| Modifier and Type | Method and Description |
|---|---|
static List<TextExtractorWork> |
getInProgressWorks()
Get in progress extraction works.
|
static long |
getPendingSize()
Get pending extraction work size.
|
static List<TextExtractorWork> |
getPendingWorks(int max)
Get pending extraction works.
|
static boolean |
isRunning()
Return if text extraction worker is running.
|
static Calendar |
lastExecution()
Return text extractor worker last execution
|
void |
rebuildWorker(org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor)
Force text extraction of every document in the repository
|
void |
run()
Document text extraction batch
|
cancel, scheduledExecutionTimepublic static List<TextExtractorWork> getInProgressWorks() throws DatabaseException
DatabaseExceptionpublic static List<TextExtractorWork> getPendingWorks(int max) throws DatabaseException
DatabaseExceptionpublic static long getPendingSize()
throws DatabaseException
DatabaseExceptionpublic static boolean isRunning()
public static Calendar lastExecution()
public void run()
public void rebuildWorker(org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor)
throws PathNotFoundException,
DatabaseException,
InterruptedException
Copyright © 2019 Open Knowledge Management System S.L.. All rights reserved.