org.mmbase.module.builders.vwms
Interface VwmProbeInterface

All Known Implementing Classes:
Vwm

public interface VwmProbeInterface

Virtual Web Master Probe interface. A VWM that runs a scheduler should implement this interface. The routines defined here are entry routines for the probe, needed to perform scheduled tasks.

Version:
5-Apr-2001
Author:
Daniel Ockeloen, Pierre van Rooden (javadocs)

Method Summary
 java.lang.String getName()
          Returns the name of the VWM.
 boolean performTask(MMObjectNode node)
          Performs maintenance based on a Vwmtasknode.
 boolean probeCall()
          Performs general periodic maintenance.
 

Method Detail

probeCall

public boolean probeCall()
Performs general periodic maintenance.
Returns:
true if maintenance was performed, false otherwise

getName

public java.lang.String getName()
Returns the name of the VWM.

performTask

public boolean performTask(MMObjectNode node)
Performs maintenance based on a Vwmtasknode.
Parameters:
node - The Vwmtask node that describes the task to be performed.
Returns:
true if maintenance was performed, false if it failed


MMBase 2001