org.silverpeas.file
Class ResizedImageCacheCleaner
java.lang.Object
com.silverpeas.scheduler.Job
org.silverpeas.file.ResizedImageCacheCleaner
@Named
public class ResizedImageCacheCleaner
- extends Job
A scheduled job to clean up all the resized images for non existent original images.
- Author:
- mmoquillon
Methods inherited from class com.silverpeas.scheduler.Job |
getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResizedImageCacheCleaner
public ResizedImageCacheCleaner()
- Creates a new job
scheduleFrequently
@PostConstruct
public void scheduleFrequently()
throws SchedulerException,
ParseException
- Throws:
SchedulerException
ParseException
execute
public void execute(JobExecutionContext context)
throws Exception
- 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.
- Specified by:
execute
in class Job
- Parameters:
context
- the context under which this job is executed.
- Throws:
Exception
- if an error occurs during the job execution.
Copyright © 2016 Silverpeas. All Rights Reserved.