Class ClusteringConstants.Parameters

java.lang.Object
org.apache.axis2.clustering.ClusteringConstants.Parameters
Enclosing class:
ClusteringConstants

public static final class ClusteringConstants.Parameters extends Object
The main cluster configuration parameters
  • Field Details

    • MEMBERSHIP_SCHEME

      public static final String MEMBERSHIP_SCHEME
      The membership scheme used in this setup. The only values supported at the moment are "multicast" and "wka"
      See Also:
    • DOMAIN

      public static final String DOMAIN
      The clustering domain/group. Nodes in the same group will belong to the same multicast domain. There will not be interference between nodes in different groups.
      See Also:
    • MODE

      public static final String MODE
      Indicates the mode in which this member is running. Valid values are "application" and "loadBalance"

      application - This member hosts end user applications loadBalance - This member is a part of the load balancer cluster

      See Also:
    • LOAD_BALANCE_EVENT_HANDLER

      public static final String LOAD_BALANCE_EVENT_HANDLER
      This is the even handler which will be notified in the case of load balancing events occurring. This class has to be an implementation of org.apache.axis2.clustering.LoadBalanceEventHandler

      This entry is only valid if the "mode" parameter is set to loadBalance

      See Also:
    • APPLICATION_DOMAIN

      public static final String APPLICATION_DOMAIN
      This parameter is only valid when the "mode" parameter is set to "application"

      This indicates the domain in which the the applications being load balanced are deployed.

      See Also:
    • SYNCHRONIZE_ALL_MEMBERS

      public static final String SYNCHRONIZE_ALL_MEMBERS
      When a Web service request is received, and processed, before the response is sent to the client, should we update the states of all members in the cluster? If the value of this parameter is set to "true", the response to the client will be sent only after all the members have been updated. Obviously, this can be time consuming. In some cases, such this overhead may not be acceptable, in which case the value of this parameter should be set to "false"
      See Also:
    • AVOID_INITIATION

      public static final String AVOID_INITIATION
      Do not automatically initialize the cluster. The programmer has to explicitly initialize the cluster.
      See Also:
    • PRESERVE_MSG_ORDER

      public static final String PRESERVE_MSG_ORDER
      Preserve message ordering. This will be done according to sender order
      See Also:
    • ATMOST_ONCE_MSG_SEMANTICS

      public static final String ATMOST_ONCE_MSG_SEMANTICS
      Maintain atmost-once message processing semantics
      See Also:
    • IS_ACTIVE

      public static final String IS_ACTIVE
      Indicates whether this member is ACTIVE or PASSIVE
      See Also:
    • MEMBERSHIP_LISTENER

      public static final String MEMBERSHIP_LISTENER
      The implementaion of
      See Also:
  • Constructor Details

    • Parameters

      public Parameters()