Class ReindexingTask
java.lang.Object
org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
org.ametys.workspaces.repository.maintenance.ReindexingTask
- All Implemented Interfaces:
LogEnabled
ReindexingTask
-
Field Summary
Fields inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_logger, _progress
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
apply()
Apply the tasks (within the execute method()).protected void
Initialize the tasks.protected void
Set the tasks logger.Methods inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_getFormattedDuration, close, createRepository, createRepositoryContext, execute, getAllPersistenceManager, getOrCreateRepository, getOrCreateRepositoryContext, getProgressInfo, getRepository, getRepositoryConfig, isFinished, requiresOffline, setLogger
-
Constructor Details
-
ReindexingTask
public ReindexingTask()
-
-
Method Details
-
initialize
Description copied from class:AbstractMaintenanceTask
Initialize the tasks. This method can also create theProgressionTracker
object bounded to the task.- Overrides:
initialize
in classAbstractMaintenanceTask
- Throws:
javax.jcr.RepositoryException
- If a repository exception
-
setLogger
Description copied from class:AbstractMaintenanceTask
Set the tasks logger.- Specified by:
setLogger
in classAbstractMaintenanceTask
-
apply
Description copied from class:AbstractMaintenanceTask
Apply the tasks (within the execute method()).- Specified by:
apply
in classAbstractMaintenanceTask
- Throws:
javax.jcr.RepositoryException
- If a repository exception
-