org.gnu6.moves
Class addCluster

java.lang.Object
  |
  +--org.gnu6.six.move
        |
        +--org.gnu6.moves.addCluster
All Implemented Interfaces:
java.lang.Runnable

public class addCluster
extends org.gnu6.six.move

It starts a cluster of projects. This version of addCluster is NOT SECURE. We recommend you to wait until we fix security problems.

Example
 < move name="addCluster" />
 < parameter name="port" value="1880"/>
 < parameter name="cluster_Name" value="myCluster"/>
 < parameter name="projectName1" value="/projects/Name1/runMe.xml"/>
 < parameter name="projectName2" value="/projects/Name2/runMe.xml"/>
 < parameter name="loop" value="yes"/>
 < parameter name="timeout" value="20000"/>
 </move>
 


Field Summary
 boolean loop
           
 int timeout
           
 
Fields inherited from class org.gnu6.six.move
currentState, myInstance, myName, myThreadGroup, parameters, thisThread
 
Constructor Summary
addCluster()
           
 
Method Summary
 void killConnection()
           
 void releaseConnection()
           
 void run()
           
 
Methods inherited from class org.gnu6.six.move
activeCount, amIsuspended, enumerateThreadGroups, enumerateThreads, getLogFile, getLogStatus, getName, getParameters, getParent, getState, interrupt, interruptAll, isAlive, isItSuspended, join, resume, setAlive, setDaemon, setInstance, setLogFile, setLogStatus, setName, setParameters, setParent, setState, setThread, setThreadGroup, sleep, start, stop, stopAll, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loop

public boolean loop

timeout

public int timeout
Constructor Detail

addCluster

public addCluster()
Method Detail

run

public void run()

releaseConnection

public void releaseConnection()
                       throws java.io.IOException
java.io.IOException

killConnection

public void killConnection()
                    throws java.io.IOException
java.io.IOException