Interface LoadBalancer
- All Known Implementing Classes:
LoadBalancerImpl
public interface LoadBalancer
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd new node for cometd connection.connection(String exoId) booleanRelease connection on the node there client connected.voidremoveNode(String id) Remove cometd node.
-
Method Details
-
connection
-
release
Release connection on the node there client connected.- Parameters:
exoId- client id.- Returns:
- true if release successful
-
getAliveNodesURL
-
addNode
Add new node for cometd connection.- Parameters:
node- the new node in cluster.
-
removeNode
-