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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionselectConnection(Packet p, ClusterConnection conn) Method returns XMPPIOService instances which should be used to send packet between cluster nodesvoidvoidsetProperties(Map<String, Object> props)
-
Constructor Details
-
ClusterConnectionSelectorOld
public ClusterConnectionSelectorOld()
-
-
Method Details
-
selectConnection
Description copied from interface:ClusterConnectionSelectorIfcMethod returns XMPPIOService instances which should be used to send packet between cluster nodes- Specified by:
selectConnectionin interfaceClusterConnectionSelectorIfc
-
setClusterConnectionHandler
- Specified by:
setClusterConnectionHandlerin interfaceClusterConnectionSelectorIfc
-
setProperties
- Specified by:
setPropertiesin interfaceClusterConnectionSelectorIfc
-