|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.ant.jonasbase.Tasks org.ow2.jonas.ant.cluster.ModJk
public class ModJk
Allow to configure the mod_jk load balancer for Apache
Nested Class Summary | |
---|---|
class |
ModJk.Worker
Define an inner class for workers |
Constructor Summary | |
---|---|
ModJk()
Default constructor |
Method Summary | |
---|---|
String |
addWorker(String portNumber,
String lbFactor)
Add a worker |
void |
createFiles()
Creation of the mod_jk files |
void |
flushFiles()
Generation of the config files |
void |
setDir(String dir)
Set the mod_jk directory |
void |
setRootDir(String dir)
Set the root directory |
void |
setStickySession(boolean stickySession)
Set sticky Session |
Methods inherited from class org.ow2.jonas.ant.jonasbase.Tasks |
---|
addTask, addTasks, addTasks, getTasks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModJk()
Method Detail |
---|
public void createFiles()
public String addWorker(String portNumber, String lbFactor)
portNumber
- port numberlbFactor
- load balancing factor
public void flushFiles()
public void setStickySession(boolean stickySession)
stickySession
- to setpublic void setDir(String dir)
dir
- directorypublic void setRootDir(String dir)
dir
- directory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |