���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/drive.rickard.co/systemMYs/classes/vendor/Elasticsearch/Endpoints/Cluster/Nodes/Info.php
���ѧ٧ѧ�
<?php namespace Elasticsearch\Endpoints\Cluster\Nodes; /** * Class Info * * @category Elasticsearch * @package Elasticsearch\Endpoints\Cluster\Nodes * @author Zachary Tong <zach@elastic.co> * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 * @link http://elastic.co */ class Info extends AbstractNodesEndpoint { // A comma-separated list of metrics you wish returned. Leave empty to return all. private $metric; /** * @param $metric * * @return $this */ public function setMetric($metric) { if (isset($metric) !== true) { return $this; } if (is_array($metric) === true) { $metric = implode(",", $metric); } $this->metric = $metric; return $this; } /** * @return string */ public function getURI() { $node_id = $this->nodeID; $metric = $this->metric; $uri = "/_nodes"; if (isset($node_id) === true && isset($metric) === true) { $uri = "/_nodes/$node_id/$metric"; } elseif (isset($metric) === true) { $uri = "/_nodes/$metric"; } elseif (isset($node_id) === true) { $uri = "/_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.09 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�