public interface LoadBalancer
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(Node node)
Add new node for cometd connection.
|
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.
|
String connection(String exoId)
exoId - the id of client.boolean release(String exoId)
exoId - client id.void addNode(Node node)
node - the new node in cluster.void removeNode(String id)
id - the ID of cometd node.Copyright © 2003–2019 eXo Platform SAS. All rights reserved.