Elastica\Index\Stats::refresh PHP Method

refresh() public method

Reloads all status data of this object.
public refresh ( )
    public function refresh()
    {
        $path = '_stats';
        $this->_response = $this->getIndex()->request($path, Request::GET);
        $this->_data = $this->getResponse()->getData();
    }