| |
|
| java.lang.Object org.objectweb.jonas.management.cluster.BaseCluster org.objectweb.jonas.management.cluster.JkCluster
JkCluster | public class JkCluster extends BaseCluster implements JkClusterMBean(Code) | | JkCluster are used for Web level load balancing
author: Adriana Danes author: Philippe Durieux |
Constructor Summary | |
public | JkCluster(JkClusterFactory cf) Web level loadbalancing cluster constructor
Lookup for configuration file in JONAS_BASE/conf
This is the "workers.properties" file from TOMCAT. |
JkCluster | public JkCluster(JkClusterFactory cf) throws JMException(Code) | | Web level loadbalancing cluster constructor
Lookup for configuration file in JONAS_BASE/conf
This is the "workers.properties" file from TOMCAT.
Parameters: cf - ClusterFactory throws: JMException - could not create MBean instance |
addWorker | public boolean addWorker(String workerName, int workerPort, ServerProxy proxy)(Code) | | Add a Worker to the list of the JkCluster
It should be known in workers.properties
Make link between the member and the ServerProxy.
Parameters: workerName - the worker name Parameters: workerPort - the worker port Parameters: proxy - The ServerProxy related object. True if correctly added in the List. |
getBalancedWorkers | public String[] getBalancedWorkers()(Code) | | The list of the load balancer workers' name |
getType | public String getType()(Code) | | The String type to be put in the ObjectName |
isStickySession | public boolean isStickySession()(Code) | | true if stcky session |
|
|
|