Public Member Functions | |
| getName () | |
| getHostName () | |
| getServiceName () | |
| connect () | |
| start () | |
| stop () | |
| getNodeName () | |
| getStatus () | |
SequoiaNode Class. To get this Class object must be call SequoiaGroup::getMaster or SequoiaGroup::getNode or SequoiaGroup::getSlave.
Class for create an object of the node
| SequoiaNode::connect | ( | ) |
Connect the node.
| SequoiaDB | Object |
Example:
| SequoiaNode::getHostName | ( | ) |
Get the node host name.
| string | <node_hostname> |
Example:
| SequoiaNode::getName | ( | ) |
Get the node name.
| string | <node_name> |
Example:
| SequoiaNode::getNodeName | ( | ) |
Get the node name.
| SequoiaNode::getServiceName | ( | ) |
Get the node service name.
| string | <node_servicename> |
Example:
| SequoiaNode::getStatus | ( | ) |
Get node status.
| SequoiaNode::start | ( | ) |
Start the node.
| array | array( 'errno' => 0 ) |
| string | { "errno": 0 } |
Example:
| SequoiaNode::stop | ( | ) |
Stop the node.
| array | array( 'errno' => 0 ) |
| string | { "errno": 0 } |
Example:
1.8.2