Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.framework.util
Class Cleaner

    java.lang.Object
      java.util.TimerTask
          org.deegree.framework.util.Cleaner

All Implemented Interfaces:
  Runnable

    public class Cleaner

extends TimerTask

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.

Version:
  $Revision: 18195 $
Author:
  Andreas Poth

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

### Cleaner

    public Cleaner(int interval)

  Creates a new instance of Cleaner, which will have a delay of 60000 milis

  Parameters:
    `interval` - milliseconds the run-method will be continuing called

Method Detail

### run

    public void run()

  the run mehtod will be called after the interval (milli seconds) passed to the constructor. An extending class can overwrite this method to perform something else then the default action. Per default the garbage collector will be called --> System.gc();

  Specified by:
    `run` in interface `Runnable`
  Specified by:
    `run` in class `TimerTask`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-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