org.cip4.jdflib.util.thread
Interface Sweeper

All Known Implementing Classes:
TimeSweeper

public interface Sweeper

interface called by the janitor

Author:
rainer prosi

Method Summary
 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:


Copyright © 2013. All Rights Reserved.