Class CleanHandleImpl

  • All Implemented Interfaces:
    CleanHandle

    public class CleanHandleImpl
    extends Object
    implements CleanHandle
    Author:
    Eugene Petrenko (eugene.petrenko@gmail.com) Date: 19.03.12 15:51
    • Constructor Detail

      • CleanHandleImpl

        public CleanHandleImpl​(@NotNull
                               String name,
                               long lastUsedTime,
                               @NotNull
                               File root,
                               @NotNull
                               Runnable cleanAction)
    • Method Detail

      • getLastUsedTime

        public long getLastUsedTime()
      • getRoot

        @NotNull
        public File getRoot()
        Specified by:
        getRoot in interface CleanHandle
        Returns:
        clean root folder/file
      • cleanup

        public void cleanup()
        Description copied from interface: CleanHandle
        performs cleanup
        Specified by:
        cleanup in interface CleanHandle