org.apache.axis2.clustering.tribes
Class LoadBalancerInterceptor

java.lang.Object
  extended by org.apache.catalina.tribes.group.ChannelInterceptorBase
      extended by org.apache.axis2.clustering.tribes.LoadBalancerInterceptor
All Implemented Interfaces:
org.apache.catalina.tribes.ChannelInterceptor, org.apache.catalina.tribes.Heartbeat, org.apache.catalina.tribes.MembershipListener

public class LoadBalancerInterceptor
extends org.apache.catalina.tribes.group.ChannelInterceptorBase

This interceptor is used when this member is part of a load balancer cluster. This load balancer is responsible for load balancing across applications deployed in another group.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.catalina.tribes.ChannelInterceptor
org.apache.catalina.tribes.ChannelInterceptor.InterceptorEvent
 
Field Summary
protected  byte[] loadBalancerDomain
          Represents the load balancer group
protected  org.apache.catalina.tribes.membership.Membership loadBalancerMembership
          Represents the load balancer group
 
Fields inherited from class org.apache.catalina.tribes.group.ChannelInterceptorBase
log, optionFlag
 
Constructor Summary
LoadBalancerInterceptor(byte[] loadBalancerDomain)
           
 
Method Summary
 void messageReceived(org.apache.catalina.tribes.ChannelMessage msg)
           
 
Methods inherited from class org.apache.catalina.tribes.group.ChannelInterceptorBase
accept, fireInterceptorEvent, getLocalMember, getMember, getMembers, getNext, getOptionFlag, getPrevious, hasMembers, heartbeat, memberAdded, memberDisappeared, okToProcess, sendMessage, setNext, setOptionFlag, setPrevious, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loadBalancerMembership

protected org.apache.catalina.tribes.membership.Membership loadBalancerMembership
Represents the load balancer group


loadBalancerDomain

protected byte[] loadBalancerDomain
Represents the load balancer group

Constructor Detail

LoadBalancerInterceptor

public LoadBalancerInterceptor(byte[] loadBalancerDomain)
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


Copyright © 2007 Apache Web Services Project. All Rights Reserved.