Class ReindexingTask
- java.lang.Object
-
- org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
-
- org.ametys.workspaces.repository.maintenance.ReindexingTask
-
- All Implemented Interfaces:
LogEnabled
public class ReindexingTask extends AbstractMaintenanceTask
ReindexingTask
-
-
Field Summary
Fields Modifier and Type Field Description protected RepositoryImpl_repositoryThe JackRabbit RepositoryImpl-
Fields inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_logger, _progress, _repositoryConfig, _repositoryProvider
-
-
Constructor Summary
Constructors Constructor Description ReindexingTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapply()Apply the tasks (within the execute method()).protected voidclose()Close the tasksprotected voidinitialize()Initialize the tasks.protected voidsetLogger()Set the tasks logger.-
Methods inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_getFormattedDuration, execute, getProgressInfo, isFinished, setLogger
-
-
-
-
Field Detail
-
_repository
protected RepositoryImpl _repository
The JackRabbit RepositoryImpl
-
-
Constructor Detail
-
ReindexingTask
public ReindexingTask()
-
-
Method Detail
-
initialize
protected void initialize() throws RepositoryException
Description copied from class:AbstractMaintenanceTaskInitialize the tasks. This method can also create theTaskProgressobject bounded to the task.- Overrides:
initializein classAbstractMaintenanceTask- Throws:
RepositoryException- If a repository exception
-
setLogger
protected void setLogger()
Description copied from class:AbstractMaintenanceTaskSet the tasks logger.- Specified by:
setLoggerin classAbstractMaintenanceTask
-
apply
protected void apply() throws RepositoryException
Description copied from class:AbstractMaintenanceTaskApply the tasks (within the execute method()).- Specified by:
applyin classAbstractMaintenanceTask- Throws:
RepositoryException- If a repository exception
-
close
protected void close()
Description copied from class:AbstractMaintenanceTaskClose the tasks- Overrides:
closein classAbstractMaintenanceTask
-
-