Package org.silverpeas.core.io.file
Class ResizedImageCacheCleaner
- java.lang.Object
-
- org.silverpeas.core.scheduler.Job
-
- org.silverpeas.core.io.file.ResizedImageCacheCleaner
-
- All Implemented Interfaces:
Initialization
@Service public class ResizedImageCacheCleaner extends Job implements Initialization
A scheduled job to clean up all the resized images for non existent original images.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description ResizedImageCacheCleaner()
Creates a new job
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(JobExecutionContext context)
Executes the job with the specified execution context.void
init()
Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.initialization.Initialization
getPriority, release
-
-
-
-
Method Detail
-
init
public void init() throws SchedulerException, ParseException
Description copied from interface:Initialization
Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.- Specified by:
init
in interfaceInitialization
- Throws:
SchedulerException
ParseException
-
execute
public void execute(JobExecutionContext context)
Description copied from class:Job
Executes the job with the specified execution context. The context carries the information that can be required by the job to fulfill its execution, like the job parameters.
-
-