Skip to content

Commit 920e73e

Browse files
committed
Remove obsolete Shutdown API
This has been long gone!
1 parent 6583686 commit 920e73e

File tree

2 files changed

+0
-74
lines changed

2 files changed

+0
-74
lines changed

src/Elasticsearch/Endpoints/Cluster/Nodes/Shutdown.php

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/Elasticsearch/Namespaces/NodesNamespace.php

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -110,27 +110,4 @@ public function hotThreads($params = array())
110110
return $this->performRequest($endpoint);
111111
}
112112

113-
/**
114-
* $params['node_id'] = (list) A comma-separated list of node IDs or names to perform the operation on; use `_local` to perform the operation on the node you're connected to, leave empty to perform the operation on all nodes
115-
* ['delay'] = (time) Set the delay for the operation (default: 1s)
116-
* ['exit'] = (boolean) Exit the JVM as well (default: true)
117-
*
118-
* @param array $params Associative array of parameters
119-
*
120-
* @return array
121-
*/
122-
public function shutdown($params = array())
123-
{
124-
$nodeID = $this->extractArgument($params, 'node_id');
125-
126-
/** @var callback $endpointBuilder */
127-
$endpointBuilder = $this->endpoints;
128-
129-
/** @var \Elasticsearch\Endpoints\Cluster\Nodes\Shutdown $endpoint */
130-
$endpoint = $endpointBuilder('Cluster\Nodes\Shutdown');
131-
$endpoint->setNodeID($nodeID);
132-
$endpoint->setParams($params);
133-
134-
return $this->performRequest($endpoint);
135-
}
136113
}

0 commit comments

Comments
 (0)