com.serotonin.m2m2.module
Class PurgeDefinition

java.lang.Object
  extended by com.serotonin.m2m2.module.ModuleElementDefinition
      extended by com.serotonin.m2m2.module.PurgeDefinition

public abstract class PurgeDefinition
extends ModuleElementDefinition

Provides a hook into the system purge process.

Author:
Matthew Lohbihler

Constructor Summary
PurgeDefinition()
           
 
Method Summary
abstract  void execute(long runtime)
          Called as part of the purge process, which runs nightly.
 
Methods inherited from class com.serotonin.m2m2.module.ModuleElementDefinition
getModule, initialize, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurgeDefinition

public PurgeDefinition()
Method Detail

execute

public abstract void execute(long runtime)
Called as part of the purge process, which runs nightly.

Parameters:
runtime - The time at which the purge process started. May differ significantly from the current time.