Class ReclaimUnusedSpaceTask
java.lang.Object
org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
org.ametys.plugins.repository.maintenance.ReclaimUnusedSpaceTask
- All Implemented Interfaces:
LogEnabled
Maintenance Task to reclaim unused space from the Derby tables
-
Field Summary
Fields inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_logger, _progress
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_getFormattedDuration, close, createRepository, createRepositoryContext, execute, getAllPersistenceManager, getOrCreateRepository, getOrCreateRepositoryContext, getProgressInfo, getRepository, getRepositoryConfig, initialize, isFinished, requiresOffline, setLogger
-
Constructor Details
-
ReclaimUnusedSpaceTask
public ReclaimUnusedSpaceTask()
-
-
Method Details
-
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
-
setLogger
Description copied from class:AbstractMaintenanceTask
Set the tasks logger.- Specified by:
setLogger
in classAbstractMaintenanceTask
-