Interface Sweeper

  • All Known Implementing Classes:
    TimeSweeper

    public interface Sweeper
    interface called by the janitor
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean needSweep()
      return true if you want sweep to be executed
      boolean sweep()
      sweeping is called by the janitor - timing is set in the janitor
    • Method Detail

      • sweep

        boolean sweep()
        sweeping is called by the janitor - timing is set in the janitor
        Returns:
        true if all went well
      • needSweep

        boolean needSweep()
        return true if you want sweep to be executed
        Returns: