|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.TimerTask org.deegree.framework.util.Cleaner
public class Cleaner
Simple class which performs an action in continuing intervals. per default the garbage collector will be called. But extending classes can change this behavior by overwriting the run() method.
Constructor Summary | |
---|---|
Cleaner(int interval)
Creates a new instance of Cleaner, which will have a delay of 60000 milis |
Method Summary | |
---|---|
void |
run()
the run mehtod will be called after the interval (milli seconds) passed to the constructor. |
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cleaner(int interval)
interval
- milliseconds the run-method will be continuing calledMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org