Свойство | Тип | Описание | |
---|---|---|---|
$_data | Stats data. | ||
$_id | string | Unique node id. | |
$_node | Node. | ||
$_params | array | Query parameters. | |
$_response | Response. |
Метод | Описание | |
---|---|---|
__construct ( |
Create new info object for node. | |
get ( ) : mixed | Returns the entry in the data array based on the params. | |
getData ( ) : array | Return all info data. | |
getId ( ) : string | ||
getIp ( ) : string | Return IP of the node. | |
getName ( ) : string | ||
getNode ( ) : |
Return node object. | |
getPlugins ( ) : array | Return data regarding plugins installed on this node. | |
getPort ( ) : string | Return port of the node. | |
getResponse ( ) : |
Returns response object. | |
hasPlugin ( string $name ) : boolean | Check if the given plugin is installed on this node. | |
refresh ( array $params = [] ) : |
Reloads all nodes information. Has to be called if informations changed. |
public __construct ( |
||
$node | Node object | |
$params | array | List of params to return. Can be: settings, os, process, jvm, thread_pool, network, transport, http |
public getNode ( ) : |
||
Результат | Node object |
public getPlugins ( ) : array | ||
Результат | array | plugin data |
public getResponse ( ) : |
||
Результат | Response object |