Elastica\Cluster::refresh PHP Method

refresh() public method

Refreshes all cluster information (state).
public refresh ( )
    public function refresh()
    {
        $path = '_cluster/state';
        $this->_response = $this->_client->request($path, Request::GET);
        $this->_data = $this->getResponse()->getData();
    }