Interface LoadBalanceMembershipHandler

    • Method Detail

      • init

        void init​(Properties properties,
                  LoadbalanceAlgorithm algorithm)
        Initialize this
        Parameters:
        properties - The properties specific to this LoadBalanceMembershipHandler
        algorithm - The load balancing algorithm
      • setConfigurationContext

        void setConfigurationContext​(org.apache.axis2.context.ConfigurationContext configCtx)
        Set the Axis2 ConfigurationContext
        Parameters:
        configCtx - Axis2 ConfigurationContext
      • getConfigurationContext

        org.apache.axis2.context.ConfigurationContext getConfigurationContext()
        Get the Axis2 ConfigurationContext
        Returns:
        Axis2 ConfigurationContext
      • getNextApplicationMember

        org.apache.axis2.clustering.Member getNextApplicationMember​(AlgorithmContext context)
        Get the next application member to whom the message has to be sent to
        Parameters:
        context - The AlgorithmContext which holds information needed for the algorithm
        Returns:
        Next application member to whom the message has to be sent to
      • getLoadbalanceAlgorithm

        LoadbalanceAlgorithm getLoadbalanceAlgorithm()
        Get the algorithum uses in this membership handler
        Returns:
        Load balance algorithm use for this Membership handler
      • getProperties

        Properties getProperties()
        get the properties used to init this membership handler
        Returns:
        get the initial properties