Interface OperationMode
- All Known Implementing Classes:
ApplicationMode,ClusterManagementMode
public interface OperationMode
The mode in which this member is operating such a loadBalance or application
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptors(org.apache.catalina.tribes.Channel channel) Add channel interecptorsGet all the membership managers associated with a particular modevoidinit(org.apache.catalina.tribes.Channel channel) Initialize this modevoidnotifyMemberJoin(org.apache.catalina.tribes.Member member) Notify to the relevant parties that a membermemberjoined
-
Method Details
-
addInterceptors
void addInterceptors(org.apache.catalina.tribes.Channel channel) Add channel interecptors- Parameters:
channel- The Channel to which interceptors need to be added
-
init
void init(org.apache.catalina.tribes.Channel channel) Initialize this mode- Parameters:
channel- The channel related to this member
-
getMembershipManagers
List<MembershipManager> getMembershipManagers()Get all the membership managers associated with a particular mode- Returns:
- membership managers associated with a particular mode
-
notifyMemberJoin
void notifyMemberJoin(org.apache.catalina.tribes.Member member) Notify to the relevant parties that a membermemberjoined- Parameters:
member- The member to whom this member lists have to be sent
-