blob: c271e94e475073c5354839d3b1ad5c102d7639e3 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ReconnectLocationPool (Qpid ProtonJ2 Parent 1.0.0-M9 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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="ReconnectLocationPool (Qpid ProtonJ2 Parent 1.0.0-M9 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":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>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ReconnectLocationPool.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="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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 id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.qpid.protonj2.client.util</a></div>
<h2 title="Class ReconnectLocationPool" class="title">Class ReconnectLocationPool</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.qpid.protonj2.client.util.ReconnectLocationPool</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">ReconnectLocationPool</span>
extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre>
<div class="block">Manages the list of available reconnect entries that are used to connect
and recover a connection.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ReconnectLocationPool</a></span>()</code></th>
<td class="colLast">
<div class="block">Creates an empty <a href="ReconnectLocationPool.html" title="class in org.apache.qpid.protonj2.client.util"><code>ReconnectLocationPool</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.util.List)">ReconnectLocationPool</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;&nbsp;backups)</code></th>
<td class="colLast">
<div class="block">Creates a new <a href="ReconnectLocationPool.html" title="class in org.apache.qpid.protonj2.client.util"><code>ReconnectLocationPool</code></a> with the provided <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<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="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(org.apache.qpid.protonj2.client.ReconnectLocation)">add</a></span>&#8203;(<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&nbsp;entry)</code></th>
<td class="colLast">
<div class="block">Adds a new entry to the pool if not already contained within.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAll(java.util.List)">addAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;&nbsp;additions)</code></th>
<td class="colLast">
<div class="block">Adds a list of new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values to the pool if not already contained within.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addFirst(org.apache.qpid.protonj2.client.ReconnectLocation)">addFirst</a></span>&#8203;(<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&nbsp;entry)</code></th>
<td class="colLast">
<div class="block">Adds a new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> to the pool if not already contained within.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getList()">getList</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the current list of <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNext()">getNext</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the next entry in the pool of entries.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEmpty()">isEmpty</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(org.apache.qpid.protonj2.client.ReconnectLocation)">remove</a></span>&#8203;(<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&nbsp;entry)</code></th>
<td class="colLast">
<div class="block">Remove a <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> from the pool if present, otherwise has no effect.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAll()">removeAll</a></span>()</code></th>
<td class="colLast">
<div class="block">Removes all currently configured <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> from the pool, no new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values
will be served from this pool until new ones are added.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replaceAll(java.util.List)">replaceAll</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;&nbsp;replacements)</code></th>
<td class="colLast">
<div class="block">Removes all currently configured <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values from the pool and replaces them with
the new set given.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shuffle()">shuffle</a></span>()</code></th>
<td class="colLast">
<div class="block">Randomizes the order of the list of entries contained within the pool.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size()">size</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ReconnectLocationPool</h4>
<pre>public&nbsp;ReconnectLocationPool()</pre>
<div class="block">Creates an empty <a href="ReconnectLocationPool.html" title="class in org.apache.qpid.protonj2.client.util"><code>ReconnectLocationPool</code></a>.</div>
</li>
</ul>
<a id="&lt;init&gt;(java.util.List)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ReconnectLocationPool</h4>
<pre>public&nbsp;ReconnectLocationPool&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;&nbsp;backups)</pre>
<div class="block">Creates a new <a href="ReconnectLocationPool.html" title="class in org.apache.qpid.protonj2.client.util"><code>ReconnectLocationPool</code></a> with the provided <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>backups</code> - a list of location where a reconnection attempt should be made.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="size()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;size()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the current size of the entry pool.</dd>
</dl>
</li>
</ul>
<a id="isEmpty()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isEmpty()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the entry pool is empty.</dd>
</dl>
</li>
</ul>
<a id="getNext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNext</h4>
<pre class="methodSignature">public&nbsp;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&nbsp;getNext()</pre>
<div class="block">Returns the next entry in the pool of entries. The entry will be shifted to the
end of the list and not be attempted again until the full list has been
returned once.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the next entry that should be used for a connection attempt.</dd>
</dl>
</li>
</ul>
<a id="shuffle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shuffle</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;shuffle()</pre>
<div class="block">Randomizes the order of the list of entries contained within the pool.</div>
</li>
</ul>
<a id="add(org.apache.qpid.protonj2.client.ReconnectLocation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;add&#8203;(<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&nbsp;entry)</pre>
<div class="block">Adds a new entry to the pool if not already contained within.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entry</code> - The new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> to add to the pool.</dd>
</dl>
</li>
</ul>
<a id="addAll(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;&nbsp;additions)</pre>
<div class="block">Adds a list of new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values to the pool if not already contained within.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>additions</code> - The new list of <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> to add to the pool.</dd>
</dl>
</li>
</ul>
<a id="addFirst(org.apache.qpid.protonj2.client.ReconnectLocation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFirst</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addFirst&#8203;(<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&nbsp;entry)</pre>
<div class="block">Adds a new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> to the pool if not already contained within.
The <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> is added to the head of the pooled <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> list and will be the
next value that is returned from the pool.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entry</code> - The new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> to add to the pool.</dd>
</dl>
</li>
</ul>
<a id="remove(org.apache.qpid.protonj2.client.ReconnectLocation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;remove&#8203;(<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&nbsp;entry)</pre>
<div class="block">Remove a <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> from the pool if present, otherwise has no effect.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entry</code> - The <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> to attempt to remove from the pool.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the given <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> was removed from the pool.</dd>
</dl>
</li>
</ul>
<a id="removeAll()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;removeAll()</pre>
<div class="block">Removes all currently configured <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> from the pool, no new <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values
will be served from this pool until new ones are added.</div>
</li>
</ul>
<a id="replaceAll(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceAll</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;replaceAll&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;&nbsp;replacements)</pre>
<div class="block">Removes all currently configured <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values from the pool and replaces them with
the new set given.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>replacements</code> - The new set of reconnect <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values to serve from this pool.</dd>
</dl>
</li>
</ul>
<a id="getList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getList</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client">ReconnectLocation</a>&gt;&nbsp;getList()</pre>
<div class="block">Gets the current list of <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values. The returned list is a copy.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a copy of the current list of <a href="../ReconnectLocation.html" title="class in org.apache.qpid.protonj2.client"><code>ReconnectLocation</code></a> values in the pool.</dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ReconnectLocationPool.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="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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 id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>