Skip to content

Commit a54f8ed

Browse files
committed
Deployed 6439007 to dev with MkDocs 1.6.1 and mike 2.1.3
1 parent 34a6b95 commit a54f8ed

79 files changed

Lines changed: 26624 additions & 1102 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dev/404.html

Lines changed: 217 additions & 37 deletions
Large diffs are not rendered by default.

dev/en/index.html

Lines changed: 215 additions & 35 deletions
Large diffs are not rendered by default.

dev/en/documentation/client/arch/balancer/index.html renamed to dev/en/pages/client/arch/balancer/index.html

Lines changed: 78 additions & 9 deletions
Large diffs are not rendered by default.

dev/en/documentation/client/arch/call/index.html renamed to dev/en/pages/client/arch/call/index.html

Lines changed: 228 additions & 48 deletions
Large diffs are not rendered by default.

dev/en/documentation/client/arch/connection-pool/index.html renamed to dev/en/pages/client/arch/connection-pool/index.html

Lines changed: 76 additions & 5 deletions
Large diffs are not rendered by default.

dev/en/documentation/client/arch/connection-to-multiple-nodes/index.html renamed to dev/en/pages/client/arch/connection-to-multiple-nodes/index.html

Lines changed: 187 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010

11-
<link rel="canonical" href="https://tarantool.github.io/tarantool-java-sdk/dev/en/documentation/client/arch/connection-to-multiple-nodes/">
11+
<link rel="canonical" href="https://tarantool.github.io/tarantool-java-sdk/dev/en/pages/client/arch/connection-to-multiple-nodes/">
1212

1313

1414
<link rel="prev" href="../exception-handling/">
@@ -18,7 +18,7 @@
1818

1919

2020

21-
<link rel="alternate" href="../../../../../documentation/client/arch/connection-to-multiple-nodes/" hreflang="ru">
21+
<link rel="alternate" href="../../../../../pages/client/arch/connection-to-multiple-nodes/" hreflang="ru">
2222

2323
<link rel="alternate" href="./" hreflang="en">
2424

@@ -253,7 +253,7 @@
253253
<ul class="md-select__list">
254254

255255
<li class="md-select__item">
256-
<a href="../../../../../documentation/client/arch/connection-to-multiple-nodes/" hreflang="ru" class="md-select__link">
256+
<a href="../../../../../pages/client/arch/connection-to-multiple-nodes/" hreflang="ru" class="md-select__link">
257257
🇷🇺 RU
258258
</a>
259259
</li>
@@ -831,6 +831,8 @@
831831

832832

833833

834+
835+
834836

835837

836838

@@ -1313,6 +1315,184 @@
13131315

13141316

13151317

1318+
1319+
1320+
1321+
1322+
1323+
1324+
1325+
1326+
1327+
1328+
1329+
1330+
1331+
1332+
1333+
1334+
1335+
1336+
1337+
1338+
1339+
1340+
<li class="md-nav__item md-nav__item--nested">
1341+
1342+
1343+
1344+
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_3" >
1345+
1346+
1347+
<div class="md-nav__link md-nav__container">
1348+
<a href="../../examples/" class="md-nav__link ">
1349+
1350+
1351+
1352+
<span class="md-ellipsis">
1353+
1354+
1355+
Usage examples
1356+
1357+
1358+
1359+
</span>
1360+
1361+
1362+
1363+
</a>
1364+
1365+
1366+
<label class="md-nav__link " for="__nav_2_3_3" id="__nav_2_3_3_label" tabindex="0">
1367+
<span class="md-nav__icon md-icon"></span>
1368+
</label>
1369+
1370+
</div>
1371+
1372+
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_2_3_3_label" aria-expanded="false">
1373+
<label class="md-nav__title" for="__nav_2_3_3">
1374+
<span class="md-nav__icon md-icon"></span>
1375+
1376+
1377+
Usage examples
1378+
1379+
1380+
</label>
1381+
<ul class="md-nav__list" data-md-scrollfix>
1382+
1383+
1384+
1385+
1386+
1387+
1388+
1389+
1390+
1391+
1392+
1393+
1394+
1395+
1396+
1397+
1398+
1399+
1400+
1401+
1402+
1403+
1404+
1405+
1406+
1407+
<li class="md-nav__item md-nav__item--nested">
1408+
1409+
1410+
1411+
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_3_2" >
1412+
1413+
1414+
<div class="md-nav__link md-nav__container">
1415+
<a href="../../examples/connection/" class="md-nav__link ">
1416+
1417+
1418+
1419+
<span class="md-ellipsis">
1420+
1421+
1422+
Connecting to nodes
1423+
1424+
1425+
1426+
</span>
1427+
1428+
1429+
1430+
</a>
1431+
1432+
1433+
<label class="md-nav__link " for="__nav_2_3_3_2" id="__nav_2_3_3_2_label" tabindex="0">
1434+
<span class="md-nav__icon md-icon"></span>
1435+
</label>
1436+
1437+
</div>
1438+
1439+
<nav class="md-nav" data-md-level="4" aria-labelledby="__nav_2_3_3_2_label" aria-expanded="false">
1440+
<label class="md-nav__title" for="__nav_2_3_3_2">
1441+
<span class="md-nav__icon md-icon"></span>
1442+
1443+
1444+
Connecting to nodes
1445+
1446+
1447+
</label>
1448+
<ul class="md-nav__list" data-md-scrollfix>
1449+
1450+
1451+
1452+
1453+
1454+
1455+
1456+
1457+
1458+
<li class="md-nav__item">
1459+
<a href="../../examples/connection/single-node/" class="md-nav__link">
1460+
1461+
1462+
1463+
<span class="md-ellipsis">
1464+
1465+
1466+
Connection to single instance Tarantool
1467+
1468+
1469+
1470+
</span>
1471+
1472+
1473+
1474+
</a>
1475+
</li>
1476+
1477+
1478+
1479+
1480+
</ul>
1481+
</nav>
1482+
1483+
</li>
1484+
1485+
1486+
1487+
1488+
</ul>
1489+
</nav>
1490+
1491+
</li>
1492+
1493+
1494+
1495+
13161496
</ul>
13171497
</nav>
13181498

@@ -2068,10 +2248,9 @@ <h3 id="connecting-to-multiple-tarantool-nodes-routers-via-tarantoolcrudclient-a
20682248
</details>
20692249
<p>Let's consider an example with the following cluster topology:</p>
20702250
<figure id="vshard-topology">
2071-
<figcaption>Example vshard cluster topology</figcaption>
2072-
<img src="../../../../../assets/images/client/few-nodes-crud.svg" alt="">
2073-
</figure>
2251+
<figcaption>Example vshard cluster topology</figcaption>
20742252

2253+
<img alt="" src="../../../../../assets/images/client/few-nodes-crud.svg" /></figure>
20752254
<p>To configure <code>TarantoolCrudClient</code>, you need to use the
20762255
<code>TarantoolCrudClientBuilder</code> API:</p>
20772256
<div class="language-java highlight"><pre><span></span><code><span id="__spanz-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="kd">final</span><span class="w"> </span><span class="n">TarantoolCrudClientBuilder</span><span class="w"> </span><span class="n">crudClientBuilder</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">TarantoolFactory</span><span class="p">.</span><span class="na">crud</span><span class="p">();</span>
@@ -2134,10 +2313,9 @@ <h3 id="connecting-to-multiple-tarantool-nodes-via-tarantoolboxclient-api">Conne
21342313
<p>In general, <code>TarantoolBoxClient</code> instances are intended for working with a single Tarantool node,
21352314
but there are scenarios where <code>TarantoolBoxSpace</code> can be used when working with multiple nodes:</p>
21362315
<figure id="box-client-topology">
2137-
<figcaption>Selecting data from multiple replicas of one shard</figcaption>
2138-
<img src="../../../../../assets/images/client/few-replicas-box.svg" alt="">
2139-
</figure>
2316+
<figcaption>Selecting data from multiple replicas of one shard</figcaption>
21402317

2318+
<img alt="" src="../../../../../assets/images/client/few-replicas-box.svg" /></figure>
21412319
<p>In the example above, one of the replicas <code>replica-1</code> fails. The Java client needs to continue
21422320
data selection, switching to replica <code>replica-2</code>.</p>
21432321
<p>To configure the connection to two replica nodes (<code>replica-1</code>, <code>replica-2</code>), you need to use the

0 commit comments

Comments
 (0)