Lines Matching refs:metric
30 protected $metric;
34 $metric = $this->metric ?? null;
37 if (isset($metric) && isset($index)) {
38 return "/_cluster/state/$metric/$index";
40 if (isset($metric)) {
41 return "/_cluster/state/$metric";
65 public function setMetric($metric): State
67 if (isset($metric) !== true) {
70 if (is_array($metric) === true) {
71 $metric = implode(",", $metric);
73 $this->metric = $metric;