Class WorkspaceCleaner

java.lang.Object
org.opencastproject.workspace.impl.WorkspaceCleaner

public class WorkspaceCleaner extends Object
Clear outdated workspace files Workspace.
  • Constructor Details

    • WorkspaceCleaner

      protected WorkspaceCleaner(Workspace workspace, int schedulerPeriod, int maxAge)
  • Method Details

    • getWorkspace

      public Workspace getWorkspace()
    • getMaxAge

      public int getMaxAge()
    • schedule

      public void schedule()
      Set the schedule and start or restart the scheduler.
    • shutdown

      public void shutdown()
      Shutdown the scheduler.
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable