Class Housekeeper


  • public class Housekeeper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Housekeeper​(java.nio.file.Path path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteOldFiles()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Housekeeper

        public Housekeeper​(java.nio.file.Path path)
    • Method Detail

      • deleteOldFiles

        @Scheduled(fixedRate=3600000L)
        public void deleteOldFiles()
                            throws java.io.IOException
        Throws:
        java.io.IOException