jgroup.experiment
Interface Runnable

All Known Implementing Classes:
CheckExperimentDir, CheckHosts, CheckSshAccess, CrashFailure, DeleteRemoteLogs, DeployClients, DeployExecDaemons, DeployReplicas, EchoProperties, FixedCrashFailure, KillAllHosts, KillHost, OldCrashFailure, SaveLogs, SynchronizeCodebase, UpgradeReplicas

public interface Runnable

Objects implementing the Runnable interface can be added to the list of elements to run in an experiment. Experiment runlists are contained in ExperimentConfig objects. The Runnable interface extends the ConfigurationObject interface, so that Runnable objects define how to parse their own tags. The run() method contains code defining the behaviour of this Runnable.

Author:
Bjarte Svaeren

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.
 

Method Detail

run

void run(ExperimentConfig ec)
         throws jgroup.core.ConfigurationException
Starts the Runnable.

Parameters:
ec - The ExperimentConfiguration describing the experiment.
Throws:
jgroup.core.ConfigurationException

getProperties

PropertyDefinition[] getProperties()
Returns a complete list of the sysproperties that this Runnable can use, and their restrictions.

Returns:
An array of strings with property names.


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