|
20 | 20 | use Elastic\Elasticsearch\Exception\MissingParameterException;
|
21 | 21 | use Elastic\Elasticsearch\Exception\ServerResponseException;
|
22 | 22 | use Elastic\Elasticsearch\Response\Elasticsearch;
|
23 |
| -use Elastic\Transport\Exception\NoAliveException; |
| 23 | +use Elastic\Transport\Exception\NoNodeAvailableException; |
24 | 24 | use Http\Promise\Promise;
|
25 | 25 |
|
26 | 26 | /**
|
@@ -50,7 +50,7 @@ class Cat extends AbstractEndpoint
|
50 | 50 | * } $params
|
51 | 51 | *
|
52 | 52 | * @throws MissingParameterException if a required parameter is missing
|
53 |
| - * @throws NoAliveException if all the hosts are offline |
| 53 | + * @throws NoNodeAvailableException if all the hosts are offline |
54 | 54 | * @throws ClientResponseException if the status code of response is 4xx
|
55 | 55 | * @throws ServerResponseException if the status code of response is 5xx
|
56 | 56 | *
|
@@ -96,7 +96,7 @@ public function aliases(array $params = [])
|
96 | 96 | * } $params
|
97 | 97 | *
|
98 | 98 | * @throws MissingParameterException if a required parameter is missing
|
99 |
| - * @throws NoAliveException if all the hosts are offline |
| 99 | + * @throws NoNodeAvailableException if all the hosts are offline |
100 | 100 | * @throws ClientResponseException if the status code of response is 4xx
|
101 | 101 | * @throws ServerResponseException if the status code of response is 5xx
|
102 | 102 | *
|
@@ -139,7 +139,7 @@ public function allocation(array $params = [])
|
139 | 139 | * } $params
|
140 | 140 | *
|
141 | 141 | * @throws MissingParameterException if a required parameter is missing
|
142 |
| - * @throws NoAliveException if all the hosts are offline |
| 142 | + * @throws NoNodeAvailableException if all the hosts are offline |
143 | 143 | * @throws ClientResponseException if the status code of response is 4xx
|
144 | 144 | * @throws ServerResponseException if the status code of response is 5xx
|
145 | 145 | *
|
@@ -183,7 +183,7 @@ public function count(array $params = [])
|
183 | 183 | * } $params
|
184 | 184 | *
|
185 | 185 | * @throws MissingParameterException if a required parameter is missing
|
186 |
| - * @throws NoAliveException if all the hosts are offline |
| 186 | + * @throws NoNodeAvailableException if all the hosts are offline |
187 | 187 | * @throws ClientResponseException if the status code of response is 4xx
|
188 | 188 | * @throws ServerResponseException if the status code of response is 5xx
|
189 | 189 | *
|
@@ -227,7 +227,7 @@ public function fielddata(array $params = [])
|
227 | 227 | * } $params
|
228 | 228 | *
|
229 | 229 | * @throws MissingParameterException if a required parameter is missing
|
230 |
| - * @throws NoAliveException if all the hosts are offline |
| 230 | + * @throws NoNodeAvailableException if all the hosts are offline |
231 | 231 | * @throws ClientResponseException if the status code of response is 4xx
|
232 | 232 | * @throws ServerResponseException if the status code of response is 5xx
|
233 | 233 | *
|
@@ -262,7 +262,7 @@ public function health(array $params = [])
|
262 | 262 | * } $params
|
263 | 263 | *
|
264 | 264 | * @throws MissingParameterException if a required parameter is missing
|
265 |
| - * @throws NoAliveException if all the hosts are offline |
| 265 | + * @throws NoNodeAvailableException if all the hosts are offline |
266 | 266 | * @throws ClientResponseException if the status code of response is 4xx
|
267 | 267 | * @throws ServerResponseException if the status code of response is 5xx
|
268 | 268 | *
|
@@ -308,7 +308,7 @@ public function help(array $params = [])
|
308 | 308 | * } $params
|
309 | 309 | *
|
310 | 310 | * @throws MissingParameterException if a required parameter is missing
|
311 |
| - * @throws NoAliveException if all the hosts are offline |
| 311 | + * @throws NoNodeAvailableException if all the hosts are offline |
312 | 312 | * @throws ClientResponseException if the status code of response is 4xx
|
313 | 313 | * @throws ServerResponseException if the status code of response is 5xx
|
314 | 314 | *
|
@@ -352,7 +352,7 @@ public function indices(array $params = [])
|
352 | 352 | * } $params
|
353 | 353 | *
|
354 | 354 | * @throws MissingParameterException if a required parameter is missing
|
355 |
| - * @throws NoAliveException if all the hosts are offline |
| 355 | + * @throws NoNodeAvailableException if all the hosts are offline |
356 | 356 | * @throws ClientResponseException if the status code of response is 4xx
|
357 | 357 | * @throws ServerResponseException if the status code of response is 5xx
|
358 | 358 | *
|
@@ -394,7 +394,7 @@ public function master(array $params = [])
|
394 | 394 | * } $params
|
395 | 395 | *
|
396 | 396 | * @throws MissingParameterException if a required parameter is missing
|
397 |
| - * @throws NoAliveException if all the hosts are offline |
| 397 | + * @throws NoNodeAvailableException if all the hosts are offline |
398 | 398 | * @throws ClientResponseException if the status code of response is 4xx
|
399 | 399 | * @throws ServerResponseException if the status code of response is 5xx
|
400 | 400 | *
|
@@ -439,7 +439,7 @@ public function mlDataFrameAnalytics(array $params = [])
|
439 | 439 | * } $params
|
440 | 440 | *
|
441 | 441 | * @throws MissingParameterException if a required parameter is missing
|
442 |
| - * @throws NoAliveException if all the hosts are offline |
| 442 | + * @throws NoNodeAvailableException if all the hosts are offline |
443 | 443 | * @throws ClientResponseException if the status code of response is 4xx
|
444 | 444 | * @throws ServerResponseException if the status code of response is 5xx
|
445 | 445 | *
|
@@ -485,7 +485,7 @@ public function mlDatafeeds(array $params = [])
|
485 | 485 | * } $params
|
486 | 486 | *
|
487 | 487 | * @throws MissingParameterException if a required parameter is missing
|
488 |
| - * @throws NoAliveException if all the hosts are offline |
| 488 | + * @throws NoNodeAvailableException if all the hosts are offline |
489 | 489 | * @throws ClientResponseException if the status code of response is 4xx
|
490 | 490 | * @throws ServerResponseException if the status code of response is 5xx
|
491 | 491 | *
|
@@ -533,7 +533,7 @@ public function mlJobs(array $params = [])
|
533 | 533 | * } $params
|
534 | 534 | *
|
535 | 535 | * @throws MissingParameterException if a required parameter is missing
|
536 |
| - * @throws NoAliveException if all the hosts are offline |
| 536 | + * @throws NoNodeAvailableException if all the hosts are offline |
537 | 537 | * @throws ClientResponseException if the status code of response is 4xx
|
538 | 538 | * @throws ServerResponseException if the status code of response is 5xx
|
539 | 539 | *
|
@@ -577,7 +577,7 @@ public function mlTrainedModels(array $params = [])
|
577 | 577 | * } $params
|
578 | 578 | *
|
579 | 579 | * @throws MissingParameterException if a required parameter is missing
|
580 |
| - * @throws NoAliveException if all the hosts are offline |
| 580 | + * @throws NoNodeAvailableException if all the hosts are offline |
581 | 581 | * @throws ClientResponseException if the status code of response is 4xx
|
582 | 582 | * @throws ServerResponseException if the status code of response is 5xx
|
583 | 583 | *
|
@@ -620,7 +620,7 @@ public function nodeattrs(array $params = [])
|
620 | 620 | * } $params
|
621 | 621 | *
|
622 | 622 | * @throws MissingParameterException if a required parameter is missing
|
623 |
| - * @throws NoAliveException if all the hosts are offline |
| 623 | + * @throws NoNodeAvailableException if all the hosts are offline |
624 | 624 | * @throws ClientResponseException if the status code of response is 4xx
|
625 | 625 | * @throws ServerResponseException if the status code of response is 5xx
|
626 | 626 | *
|
@@ -661,7 +661,7 @@ public function nodes(array $params = [])
|
661 | 661 | * } $params
|
662 | 662 | *
|
663 | 663 | * @throws MissingParameterException if a required parameter is missing
|
664 |
| - * @throws NoAliveException if all the hosts are offline |
| 664 | + * @throws NoNodeAvailableException if all the hosts are offline |
665 | 665 | * @throws ClientResponseException if the status code of response is 4xx
|
666 | 666 | * @throws ServerResponseException if the status code of response is 5xx
|
667 | 667 | *
|
@@ -702,7 +702,7 @@ public function pendingTasks(array $params = [])
|
702 | 702 | * } $params
|
703 | 703 | *
|
704 | 704 | * @throws MissingParameterException if a required parameter is missing
|
705 |
| - * @throws NoAliveException if all the hosts are offline |
| 705 | + * @throws NoNodeAvailableException if all the hosts are offline |
706 | 706 | * @throws ClientResponseException if the status code of response is 4xx
|
707 | 707 | * @throws ServerResponseException if the status code of response is 5xx
|
708 | 708 | *
|
@@ -745,7 +745,7 @@ public function plugins(array $params = [])
|
745 | 745 | * } $params
|
746 | 746 | *
|
747 | 747 | * @throws MissingParameterException if a required parameter is missing
|
748 |
| - * @throws NoAliveException if all the hosts are offline |
| 748 | + * @throws NoNodeAvailableException if all the hosts are offline |
749 | 749 | * @throws ClientResponseException if the status code of response is 4xx
|
750 | 750 | * @throws ServerResponseException if the status code of response is 5xx
|
751 | 751 | *
|
@@ -789,7 +789,7 @@ public function recovery(array $params = [])
|
789 | 789 | * } $params
|
790 | 790 | *
|
791 | 791 | * @throws MissingParameterException if a required parameter is missing
|
792 |
| - * @throws NoAliveException if all the hosts are offline |
| 792 | + * @throws NoNodeAvailableException if all the hosts are offline |
793 | 793 | * @throws ClientResponseException if the status code of response is 4xx
|
794 | 794 | * @throws ServerResponseException if the status code of response is 5xx
|
795 | 795 | *
|
@@ -829,7 +829,7 @@ public function repositories(array $params = [])
|
829 | 829 | * } $params
|
830 | 830 | *
|
831 | 831 | * @throws MissingParameterException if a required parameter is missing
|
832 |
| - * @throws NoAliveException if all the hosts are offline |
| 832 | + * @throws NoNodeAvailableException if all the hosts are offline |
833 | 833 | * @throws ClientResponseException if the status code of response is 4xx
|
834 | 834 | * @throws ServerResponseException if the status code of response is 5xx
|
835 | 835 | *
|
@@ -875,7 +875,7 @@ public function segments(array $params = [])
|
875 | 875 | * } $params
|
876 | 876 | *
|
877 | 877 | * @throws MissingParameterException if a required parameter is missing
|
878 |
| - * @throws NoAliveException if all the hosts are offline |
| 878 | + * @throws NoNodeAvailableException if all the hosts are offline |
879 | 879 | * @throws ClientResponseException if the status code of response is 4xx
|
880 | 880 | * @throws ServerResponseException if the status code of response is 5xx
|
881 | 881 | *
|
@@ -921,7 +921,7 @@ public function shards(array $params = [])
|
921 | 921 | * } $params
|
922 | 922 | *
|
923 | 923 | * @throws MissingParameterException if a required parameter is missing
|
924 |
| - * @throws NoAliveException if all the hosts are offline |
| 924 | + * @throws NoNodeAvailableException if all the hosts are offline |
925 | 925 | * @throws ClientResponseException if the status code of response is 4xx
|
926 | 926 | * @throws ServerResponseException if the status code of response is 5xx
|
927 | 927 | *
|
@@ -969,7 +969,7 @@ public function snapshots(array $params = [])
|
969 | 969 | * } $params
|
970 | 970 | *
|
971 | 971 | * @throws MissingParameterException if a required parameter is missing
|
972 |
| - * @throws NoAliveException if all the hosts are offline |
| 972 | + * @throws NoNodeAvailableException if all the hosts are offline |
973 | 973 | * @throws ClientResponseException if the status code of response is 4xx
|
974 | 974 | * @throws ServerResponseException if the status code of response is 5xx
|
975 | 975 | *
|
@@ -1010,7 +1010,7 @@ public function tasks(array $params = [])
|
1010 | 1010 | * } $params
|
1011 | 1011 | *
|
1012 | 1012 | * @throws MissingParameterException if a required parameter is missing
|
1013 |
| - * @throws NoAliveException if all the hosts are offline |
| 1013 | + * @throws NoNodeAvailableException if all the hosts are offline |
1014 | 1014 | * @throws ClientResponseException if the status code of response is 4xx
|
1015 | 1015 | * @throws ServerResponseException if the status code of response is 5xx
|
1016 | 1016 | *
|
@@ -1057,7 +1057,7 @@ public function templates(array $params = [])
|
1057 | 1057 | * } $params
|
1058 | 1058 | *
|
1059 | 1059 | * @throws MissingParameterException if a required parameter is missing
|
1060 |
| - * @throws NoAliveException if all the hosts are offline |
| 1060 | + * @throws NoNodeAvailableException if all the hosts are offline |
1061 | 1061 | * @throws ClientResponseException if the status code of response is 4xx
|
1062 | 1062 | * @throws ServerResponseException if the status code of response is 5xx
|
1063 | 1063 | *
|
@@ -1104,7 +1104,7 @@ public function threadPool(array $params = [])
|
1104 | 1104 | * } $params
|
1105 | 1105 | *
|
1106 | 1106 | * @throws MissingParameterException if a required parameter is missing
|
1107 |
| - * @throws NoAliveException if all the hosts are offline |
| 1107 | + * @throws NoNodeAvailableException if all the hosts are offline |
1108 | 1108 | * @throws ClientResponseException if the status code of response is 4xx
|
1109 | 1109 | * @throws ServerResponseException if the status code of response is 5xx
|
1110 | 1110 | *
|
|
0 commit comments