jgroup.experiment.runnables
Class DeployReplicas

java.lang.Object
  extended by jgroup.experiment.runnables.DeployReplicas
All Implemented Interfaces:
java.rmi.Remote, jgroup.core.arm.ReplicationManager.ManagementCallback, Runnable

public class DeployReplicas
extends java.lang.Object
implements Runnable, jgroup.core.arm.ReplicationManager.ManagementCallback

Deploy the application group specified in the properties associated with this runnable. Also listen to callbacks from ARM to determine if the group has been installed, and reached the fully replicated level.

Author:
Hein Meling

Constructor Summary
DeployReplicas()
           
 
Method Summary
 PropertyDefinition[] getProperties()
          Returns a complete list of the sysproperties that this Runnable can use, and their restrictions.
 void notifyEvent(jgroup.core.arm.ARMEvent event)
           
 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

DeployReplicas

public DeployReplicas()
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.

notifyEvent

public void notifyEvent(jgroup.core.arm.ARMEvent event)
                 throws java.rmi.RemoteException
Specified by:
notifyEvent in interface jgroup.core.arm.ReplicationManager.ManagementCallback
Throws:
java.rmi.RemoteException


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