Class TempFileReaper

  • All Implemented Interfaces:
    SelfRegistering, Runnable, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.jmx.export.naming.SelfNaming

    @ManagedResource("Reaper for TempFiles")
    public class TempFileReaper
    extends AbstractReaper<File>
    The TempFileReaper is responsible for the removal of temporary files left over by a job. Nodes are encouraged to attempt to put all temp files into the directory returned by ServerJob.getTempDir(). This directory will automatically be removed after the job completes, even if some of the files remain locked for some time after the job has ended.