Package tigase.cluster
Class ClusterConnectionSelectorOld
- java.lang.Object
-
- tigase.cluster.ClusterConnectionSelectorOld
-
- All Implemented Interfaces:
ClusterConnectionSelectorIfc
@Bean(name="clusterConnectionSelector", active=true) public class ClusterConnectionSelectorOld extends java.lang.Object implements ClusterConnectionSelectorIfc
ClusterConnectionSelectorOld class implements old cluster connection selection algoritm which before was part of ClusterConnectionManager class.- Author:
- andrzej
-
-
Constructor Summary
Constructors Constructor Description ClusterConnectionSelectorOld()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMPPIOService<java.lang.Object>
selectConnection(Packet p, ClusterConnection conn)
Method returns XMPPIOService instances which should be used to send packet between cluster nodesvoid
setClusterConnectionHandler(ClusterConnectionHandler handler)
void
setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
-
-
-
Method Detail
-
selectConnection
public XMPPIOService<java.lang.Object> selectConnection(Packet p, ClusterConnection conn)
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
public void setClusterConnectionHandler(ClusterConnectionHandler handler)
- Specified by:
setClusterConnectionHandler
in interfaceClusterConnectionSelectorIfc
-
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
- Specified by:
setProperties
in interfaceClusterConnectionSelectorIfc
-
-