Package com.logicaldoc.core.searchengine
Class IndexOptimizer
java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.core.searchengine.IndexOptimizer
- All Implemented Interfaces:
- Runnable
This task optimizes all indexes
- Since:
- 3.5.0
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFieldsFields inherited from class com.logicaldoc.core.task.TaskSTATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanConcrete implementations must override this method declaring if the task supports multiple instances running concurrently.booleanConcrete implementations must override this method declaring if the task is indeterminate.Methods inherited from class com.logicaldoc.core.task.TaskaddTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setReportRecipients, setSendActivityReport, setSize
- 
Field Details- 
NAME- See Also:
 
 
- 
- 
Constructor Details- 
IndexOptimizerpublic IndexOptimizer()
 
- 
- 
Method Details- 
getIndexer
- 
isIndeterminatepublic boolean isIndeterminate()Description copied from class:TaskConcrete implementations must override this method declaring if the task is indeterminate. An indeterminate task is not able to compute it's time length- Specified by:
- isIndeterminatein class- Task
- Returns:
- true if the task is indeterminate
 
- 
isConcurrentpublic boolean isConcurrent()Description copied from class:TaskConcrete implementations must override this method declaring if the task supports multiple instances running concurrently. tHIbernat- Specified by:
- isConcurrentin class- Task
- Returns:
- true if the task is concurrent
 
 
-