���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/drive.rickard.co/systemMYs/classes/vendor/Elasticsearch/Endpoints/Cluster/Stats.php
���ѧ٧ѧ�
<?php namespace Elasticsearch\Endpoints\Cluster; use Elasticsearch\Endpoints\AbstractEndpoint; /** * Class Stats * * @category Elasticsearch * @package Elasticsearch\Endpoints\Cluster * @author Zachary Tong <zach@elastic.co> * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 * @link http://elastic.co */ class Stats extends AbstractEndpoint { // A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes private $nodeID; /** * @param $node_id * * @return $this */ public function setNodeID($node_id) { if (isset($node_id) !== true) { return $this; } $this->nodeID = $node_id; return $this; } /** * @return string */ public function getURI() { $node_id = $this->nodeID; $uri = "/_cluster/stats"; if (isset($node_id) === true) { $uri = "/_cluster/stats/nodes/$node_id"; } return $uri; } /** * @return string[] */ public function getParamWhitelist() { return array( 'flat_settings', 'human', ); } /** * @return string */ public function getMethod() { return 'GET'; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.1 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�