| |
|
| java.lang.Object org.objectweb.jonas.ant.jonasbase.Tasks org.objectweb.jonas.ant.cluster.ModJk
ModJk | public class ModJk extends Tasks (Code) | | Allow to configure the mod_jk load balancer for Apache
author: Benoit Pelletier |
Inner Class :public class Worker | |
Constructor Summary | |
public | ModJk() |
ModJk | public ModJk()(Code) | | Default constructor
|
addWorker | public String addWorker(String portNumber, String lbFactor)(Code) | | Add a worker
Parameters: portNumber - port number Parameters: lbFactor - load balancing factor worker name |
createFiles | public void createFiles()(Code) | | Creation of the mod_jk files
|
flushFiles | public void flushFiles()(Code) | | Generation of the config files
|
setDir | public void setDir(String dir)(Code) | | Set the mod_jk directory
Parameters: dir - directory |
setRootDir | public void setRootDir(String dir)(Code) | | Set the root directory
Parameters: dir - directory |
setStickySession | public void setStickySession(boolean stickySession)(Code) | | Set sticky Session
Parameters: stickySession - to set |
|
|
|