PHP Класс Elastica\Index\Stats

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_data Stats info.
$_index Index.
$_response Response.

Открытые методы

Метод Описание
__construct ( Index $index ) Construct.
get ( ) : mixed Returns the entry in the data array based on the params.
getData ( ) : array Returns the raw stats info.
getIndex ( ) : Index Returns the index object.
getResponse ( ) : Response Returns response object.
refresh ( ) Reloads all status data of this object.

Описание методов

__construct() публичный Метод

Construct.
public __construct ( Index $index )
$index Elastica\Index Index object

get() публичный Метод

Various params possible.
public get ( ) : mixed
Результат mixed Data array entry or null if not found

getData() публичный Метод

Returns the raw stats info.
public getData ( ) : array
Результат array Stats info

getIndex() публичный Метод

Returns the index object.
public getIndex ( ) : Index
Результат Elastica\Index Index object

getResponse() публичный Метод

Returns response object.
public getResponse ( ) : Response
Результат Elastica\Response Response object

refresh() публичный Метод

Reloads all status data of this object.
public refresh ( )

Описание свойств

$_data защищенное свойство

Stats info.
protected $_data

$_index защищенное свойство

Index.
protected $_index

$_response защищенное свойство

Response.
protected $_response