|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.ws.frameworks.cometd.loadbalancer.LoadBalancerImpl
public class LoadBalancerImpl
Created by The eXo Platform SAS.
| Nested Class Summary | |
|---|---|
static class |
LoadBalancerImpl.LoadBalancerConf
|
| Constructor Summary | |
|---|---|
LoadBalancerImpl(org.exoplatform.container.xml.InitParams params)
|
|
| Method Summary | |
|---|---|
void |
addNode(Node node)
Add new node for cometd connection. |
void |
addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
|
String |
connection(String exoId)
|
List<String> |
getAliveNodesURL()
|
boolean |
release(String exoId)
Release connection on the node there client connected. |
void |
removeNode(String id)
Remove cometd node. |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoadBalancerImpl(org.exoplatform.container.xml.InitParams params)
params - the initial parameters.| Method Detail |
|---|
public void addNode(Node node)
addNode in interface LoadBalancernode - the new node in cluster.public String connection(String exoId)
connection in interface LoadBalancerexoId - the id of client.
public List<String> getAliveNodesURL()
getAliveNodesURL in interface LoadBalancerpublic boolean release(String exoId)
release in interface LoadBalancerexoId - client id.
public void removeNode(String id)
removeNode in interface LoadBalancerid - the ID of cometd node.public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||