jgroup.experiment.runnables
Class CheckExperimentDir

java.lang.Object
  extended by jgroup.experiment.runnables.CheckExperimentDir
All Implemented Interfaces:
Runnable

public class CheckExperimentDir
extends java.lang.Object
implements Runnable

This runnable will check if the current experiment has already been started before and thus may already have results in its experiment directory. This is to avoid overwriting/mixing the results from several runs of the same experiment.

Author:
Hein Meling

Constructor Summary
CheckExperimentDir()
           
 
Method Summary
 PropertyDefinition[] getProperties()
          Returns a complete list of the sysproperties that this Runnable can use, and their restrictions.
 void run(ExperimentConfig ec)
          Starts the Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckExperimentDir

public CheckExperimentDir()
Method Detail

run

public void run(ExperimentConfig ec)
         throws jgroup.core.ConfigurationException
Description copied from interface: Runnable
Starts the Runnable.

Specified by:
run in interface Runnable
Parameters:
ec - The ExperimentConfiguration describing the experiment.
Throws:
jgroup.core.ConfigurationException

getProperties

public PropertyDefinition[] getProperties()
Description copied from interface: Runnable
Returns a complete list of the sysproperties that this Runnable can use, and their restrictions.

Specified by:
getProperties in interface Runnable
Returns:
An array of strings with property names.


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.