blob: a8a3cf1dbe432474fd718c069269c571ca7fd77a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MembershipManager (Apache Axis2)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MembershipManager (Apache Axis2)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MembershipManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/axis2/clustering/tribes/ClusterManagementMode.html" title="class in org.apache.axis2.clustering.tribes"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/axis2/clustering/tribes/MulticastBasedMembershipScheme.html" title="class in org.apache.axis2.clustering.tribes"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/clustering/tribes/MembershipManager.html" target="_top">Frames</a></li>
<li><a href="MembershipManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.axis2.clustering.tribes</div>
<h2 title="Class MembershipManager" class="title">Class MembershipManager</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.axis2.clustering.tribes.MembershipManager</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MembershipManager</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Responsible for managing the membership. Handles membership changes.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#MembershipManager--">MembershipManager</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#MembershipManager-org.apache.axis2.context.ConfigurationContext-">MembershipManager</a></span>(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;configContext)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#addWellKnownMember-org.apache.catalina.tribes.Member-">addWellKnownMember</a></span>(org.apache.catalina.tribes.Member&nbsp;wkaMember)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#getDomain--">getDomain</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>org.apache.catalina.tribes.Member</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#getLocalMember--">getLocalMember</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>org.apache.catalina.tribes.Member</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#getLongestLivingMember--">getLongestLivingMember</a></span>()</code>
<div class="block">Get the member that has been alive for the longest time</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>org.apache.catalina.tribes.Member</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#getMember-org.apache.catalina.tribes.Member-">getMember</a></span>(org.apache.catalina.tribes.Member&nbsp;member)</code>
<div class="block">Get a member</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>org.apache.catalina.tribes.Member[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#getMembers--">getMembers</a></span>()</code>
<div class="block">Get the list of current members</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>org.apache.catalina.tribes.Member</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#getRandomMember--">getRandomMember</a></span>()</code>
<div class="block">Get a random member from the list of current members</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>org.apache.catalina.tribes.group.RpcChannel</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#getRpcMembershipChannel--">getRpcMembershipChannel</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#hasMembers--">hasMembers</a></span>()</code>
<div class="block">Check whether there are any members</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#memberAdded-org.apache.catalina.tribes.Member-">memberAdded</a></span>(org.apache.catalina.tribes.Member&nbsp;member)</code>
<div class="block">A new member is added</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#memberDisappeared-org.apache.catalina.tribes.Member-">memberDisappeared</a></span>(org.apache.catalina.tribes.Member&nbsp;member)</code>
<div class="block">A member disappeared</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#removeWellKnownMember-org.apache.catalina.tribes.Member-">removeWellKnownMember</a></span>(org.apache.catalina.tribes.Member&nbsp;wkaMember)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#sendMemberJoinedToAll-org.apache.catalina.tribes.Member-">sendMemberJoinedToAll</a></span>(org.apache.catalina.tribes.Member&nbsp;member)</code>
<div class="block">Inform all members that a particular member just joined</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#sendMemberList-org.apache.catalina.tribes.Member-">sendMemberList</a></span>(org.apache.catalina.tribes.Member&nbsp;member)</code>
<div class="block">Send the list of members to the <code>member</code></div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#setDomain-byte:A-">setDomain</a></span>(byte[]&nbsp;domain)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#setGroupManagementAgent-org.apache.axis2.clustering.management.GroupManagementAgent-">setGroupManagementAgent</a></span>(<a href="../../../../../org/apache/axis2/clustering/management/GroupManagementAgent.html" title="interface in org.apache.axis2.clustering.management">GroupManagementAgent</a>&nbsp;groupManagementAgent)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#setLocalMember-org.apache.catalina.tribes.Member-">setLocalMember</a></span>(org.apache.catalina.tribes.Member&nbsp;localMember)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#setRpcMembershipChannel-org.apache.catalina.tribes.group.RpcChannel-">setRpcMembershipChannel</a></span>(org.apache.catalina.tribes.group.RpcChannel&nbsp;rpcMembershipChannel)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/tribes/MembershipManager.html#setupStaticMembershipManagement-org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor-">setupStaticMembershipManagement</a></span>(org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor&nbsp;staticMembershipInterceptor)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MembershipManager-org.apache.axis2.context.ConfigurationContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MembershipManager</h4>
<pre>public&nbsp;MembershipManager(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;configContext)</pre>
</li>
</ul>
<a name="MembershipManager--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MembershipManager</h4>
<pre>public&nbsp;MembershipManager()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setRpcMembershipChannel-org.apache.catalina.tribes.group.RpcChannel-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRpcMembershipChannel</h4>
<pre>public&nbsp;void&nbsp;setRpcMembershipChannel(org.apache.catalina.tribes.group.RpcChannel&nbsp;rpcMembershipChannel)</pre>
</li>
</ul>
<a name="getRpcMembershipChannel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRpcMembershipChannel</h4>
<pre>public&nbsp;org.apache.catalina.tribes.group.RpcChannel&nbsp;getRpcMembershipChannel()</pre>
</li>
</ul>
<a name="setupStaticMembershipManagement-org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setupStaticMembershipManagement</h4>
<pre>public&nbsp;void&nbsp;setupStaticMembershipManagement(org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor&nbsp;staticMembershipInterceptor)</pre>
</li>
</ul>
<a name="setGroupManagementAgent-org.apache.axis2.clustering.management.GroupManagementAgent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGroupManagementAgent</h4>
<pre>public&nbsp;void&nbsp;setGroupManagementAgent(<a href="../../../../../org/apache/axis2/clustering/management/GroupManagementAgent.html" title="interface in org.apache.axis2.clustering.management">GroupManagementAgent</a>&nbsp;groupManagementAgent)</pre>
</li>
</ul>
<a name="setDomain-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDomain</h4>
<pre>public&nbsp;void&nbsp;setDomain(byte[]&nbsp;domain)</pre>
</li>
</ul>
<a name="getDomain--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDomain</h4>
<pre>public&nbsp;byte[]&nbsp;getDomain()</pre>
</li>
</ul>
<a name="getLocalMember--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalMember</h4>
<pre>public&nbsp;org.apache.catalina.tribes.Member&nbsp;getLocalMember()</pre>
</li>
</ul>
<a name="setLocalMember-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocalMember</h4>
<pre>public&nbsp;void&nbsp;setLocalMember(org.apache.catalina.tribes.Member&nbsp;localMember)</pre>
</li>
</ul>
<a name="addWellKnownMember-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addWellKnownMember</h4>
<pre>public&nbsp;void&nbsp;addWellKnownMember(org.apache.catalina.tribes.Member&nbsp;wkaMember)</pre>
</li>
</ul>
<a name="removeWellKnownMember-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeWellKnownMember</h4>
<pre>public&nbsp;void&nbsp;removeWellKnownMember(org.apache.catalina.tribes.Member&nbsp;wkaMember)</pre>
</li>
</ul>
<a name="memberAdded-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>memberAdded</h4>
<pre>public&nbsp;boolean&nbsp;memberAdded(org.apache.catalina.tribes.Member&nbsp;member)</pre>
<div class="block">A new member is added</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>member</code> - The new member that joined the cluster</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true If the member was added to the <code>members</code> array; false, otherwise.</dd>
</dl>
</li>
</ul>
<a name="sendMemberList-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendMemberList</h4>
<pre>public&nbsp;void&nbsp;sendMemberList(org.apache.catalina.tribes.Member&nbsp;member)</pre>
<div class="block">Send the list of members to the <code>member</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>member</code> - The member to whom the member list has to be sent</dd>
</dl>
</li>
</ul>
<a name="sendMemberJoinedToAll-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendMemberJoinedToAll</h4>
<pre>public&nbsp;void&nbsp;sendMemberJoinedToAll(org.apache.catalina.tribes.Member&nbsp;member)</pre>
<div class="block">Inform all members that a particular member just joined</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>member</code> - The member who just joined</dd>
</dl>
</li>
</ul>
<a name="memberDisappeared-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>memberDisappeared</h4>
<pre>public&nbsp;void&nbsp;memberDisappeared(org.apache.catalina.tribes.Member&nbsp;member)</pre>
<div class="block">A member disappeared</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>member</code> - The member that left the cluster</dd>
</dl>
</li>
</ul>
<a name="getMembers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMembers</h4>
<pre>public&nbsp;org.apache.catalina.tribes.Member[]&nbsp;getMembers()</pre>
<div class="block">Get the list of current members</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of current members</dd>
</dl>
</li>
</ul>
<a name="getLongestLivingMember--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLongestLivingMember</h4>
<pre>public&nbsp;org.apache.catalina.tribes.Member&nbsp;getLongestLivingMember()</pre>
<div class="block">Get the member that has been alive for the longest time</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The member that has been alive for the longest time</dd>
</dl>
</li>
</ul>
<a name="getRandomMember--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRandomMember</h4>
<pre>public&nbsp;org.apache.catalina.tribes.Member&nbsp;getRandomMember()</pre>
<div class="block">Get a random member from the list of current members</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A random member from the list of current members</dd>
</dl>
</li>
</ul>
<a name="hasMembers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasMembers</h4>
<pre>public&nbsp;boolean&nbsp;hasMembers()</pre>
<div class="block">Check whether there are any members</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if there are other members, false otherwise</dd>
</dl>
</li>
</ul>
<a name="getMember-org.apache.catalina.tribes.Member-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMember</h4>
<pre>public&nbsp;org.apache.catalina.tribes.Member&nbsp;getMember(org.apache.catalina.tribes.Member&nbsp;member)</pre>
<div class="block">Get a member</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>member</code> - The member to be found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The member, if it is found</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MembershipManager.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/axis2/clustering/tribes/ClusterManagementMode.html" title="class in org.apache.axis2.clustering.tribes"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/axis2/clustering/tribes/MulticastBasedMembershipScheme.html" title="class in org.apache.axis2.clustering.tribes"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/clustering/tribes/MembershipManager.html" target="_top">Frames</a></li>
<li><a href="MembershipManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>