public class ContentCheckJob extends Object implements org.quartz.Job
This class iterates through all the items in content hosting checking that the files on disk are correct and they are the correct size. It would be nice if we could also have a checksum to compare but Sakai doesn't currently store that.
This was written as we suspect that the network file-store that we use might have dropped some of the files. It does a depth first search of the content hosting service. Reporting is done through the logging framework.
Be very careful if you change this class that you don't introduce any methods in ContentHostingService that use thread local caches as on long running threads these won't get cleared and on a large install will crash the JVM.
|Constructor and Description|
|Modifier and Type||Method and Description|
public void setChs(ContentHostingService chs)
public void execute(org.quartz.JobExecutionContext jobExecutionContext) throws org.quartz.JobExecutionException
Copyright © 2003–2019 The Sakai Foundation. All rights reserved.