Package tigase.cluster
Class ClusterConnectionSelectorOld
java.lang.Object
tigase.cluster.ClusterConnectionSelectorOld
- All Implemented Interfaces:
ClusterConnectionSelectorIfc
@Bean(name="clusterConnectionSelector",
active=true)
public class ClusterConnectionSelectorOld
extends Object
implements ClusterConnectionSelectorIfc
ClusterConnectionSelectorOld class implements old cluster connection selection algoritm which before was part of
ClusterConnectionManager class.
- Author:
- andrzej
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionselectConnection
(Packet p, ClusterConnection conn) Method returns XMPPIOService instances which should be used to send packet between cluster nodesvoid
void
setProperties
(Map<String, Object> props)
-
Constructor Details
-
ClusterConnectionSelectorOld
public ClusterConnectionSelectorOld()
-
-
Method Details
-
selectConnection
Description copied from interface:ClusterConnectionSelectorIfc
Method returns XMPPIOService instances which should be used to send packet between cluster nodes- Specified by:
selectConnection
in interfaceClusterConnectionSelectorIfc
-
setClusterConnectionHandler
- Specified by:
setClusterConnectionHandler
in interfaceClusterConnectionSelectorIfc
-
setProperties
- Specified by:
setProperties
in interfaceClusterConnectionSelectorIfc
-