Class ClusterManagementInterceptor

  • All Implemented Interfaces:
    org.apache.catalina.tribes.ChannelInterceptor, org.apache.catalina.tribes.Heartbeat, org.apache.catalina.tribes.MembershipListener

    public class ClusterManagementInterceptor
    extends org.apache.catalina.tribes.group.ChannelInterceptorBase
    This interceptor is used when this member acts as a ClusterManager.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.catalina.tribes.ChannelInterceptor

        org.apache.catalina.tribes.ChannelInterceptor.InterceptorEvent
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] clusterManagerDomain
      Represents the cluster manager's group
      protected org.apache.catalina.tribes.membership.Membership clusterMgtMembership
      Represents the load balancer group
      • Fields inherited from class org.apache.catalina.tribes.group.ChannelInterceptorBase

        optionFlag
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void messageReceived​(org.apache.catalina.tribes.ChannelMessage msg)  
      • Methods inherited from class org.apache.catalina.tribes.group.ChannelInterceptorBase

        fireInterceptorEvent, getChannel, getLocalMember, getMember, getMembers, getNext, getOptionFlag, getPrevious, hasMembers, heartbeat, memberAdded, memberDisappeared, okToProcess, sendMessage, setChannel, setNext, setOptionFlag, setPrevious, start, stop
    • Field Detail

      • clusterMgtMembership

        protected org.apache.catalina.tribes.membership.Membership clusterMgtMembership
        Represents the load balancer group
      • clusterManagerDomain

        protected byte[] clusterManagerDomain
        Represents the cluster manager's group
    • Constructor Detail

      • ClusterManagementInterceptor

        public ClusterManagementInterceptor​(byte[] clusterManagerDomain)
    • Method Detail

      • messageReceived

        public void messageReceived​(org.apache.catalina.tribes.ChannelMessage msg)
        Specified by:
        messageReceived in interface org.apache.catalina.tribes.ChannelInterceptor
        Overrides:
        messageReceived in class org.apache.catalina.tribes.group.ChannelInterceptorBase