array string SequoiaGroup::createNode |
( |
string |
$hostName, |
|
|
string |
$serviceName, |
|
|
string |
$databasePath, |
|
|
array|string |
$config |
|
) |
| |
create node
- Parameters
-
[in] | $hostName | The node host name, cannot be null |
[in] | $serviceName | The node service name, cannot be null |
[in] | $databasePath | The node database path, cannot be null |
[in] | $config | The node name |
- Return values
-
Returns | the database response |
array string SequoiaGroup::getDetail |
( |
void |
| ) |
|
get the group detail
- Return values
-
get the master node
- Return values
-
get the node
- Parameters
-
[in] | $nodeName | The node name, cannot be null |
- Return values
-
int SequoiaGroup::getNodeNum |
( |
int |
$status | ) |
|
get the status node number
- Parameters
-
[in] | $status | The node status, cannot be null |
- Return values
-
get the slave node
- Return values
-
bool SequoiaGroup::isCatalog |
( |
void |
| ) |
|
judge group is catalog
- Return values
-
array string SequoiaGroup::start |
( |
void |
| ) |
|
start group
- Return values
-
Returns | the database response |
array string SequoiaGroup::stop |
( |
void |
| ) |
|
stop group
- Return values
-
Returns | the database response |
The documentation for this class was generated from the following file:
- /opt/jenkins/workspace/sequoiadb_x86_rocksdb_compile/sequoiadb/driver/php5/ext/sequoiadb.h