SequoiaDB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
sdbclient::_sdbReplicaGroup Class Referenceabstract

Public Member Functions

virtual INT32 getNodeNum (sdbNodeStatus status, INT32 *num)=0
 
virtual INT32 getDetail (bson::BSONObj &result)=0
 
virtual INT32 getMaster (_sdbNode **node)=0
 
virtual INT32 getMaster (sdbNode &node)=0
 
virtual INT32 getSlave (_sdbNode **node)=0
 
virtual INT32 getSlave (sdbNode &node)=0
 
virtual INT32 getNode (const CHAR *pNodeName, _sdbNode **node)=0
 
virtual INT32 getNode (const CHAR *pNodeName, sdbNode &node)=0
 
virtual INT32 getNode (const CHAR *pHostName, const CHAR *pServiceName, _sdbNode **node)=0
 
virtual INT32 getNode (const CHAR *pHostName, const CHAR *pServiceName, sdbNode &node)=0
 
virtual INT32 createNode (const CHAR *pHostName, const CHAR *pServiceName, const CHAR *pDatabasePath, std::map< std::string, std::string > &config)=0
 
virtual INT32 createNode (const CHAR *pHostName, const CHAR *pServiceName, const CHAR *pDatabasePath, const bson::BSONObj &options=_sdbStaticObject)=0
 
virtual INT32 removeNode (const CHAR *pHostName, const CHAR *pServiceName, const bson::BSONObj &configure=_sdbStaticObject)=0
 
virtual INT32 stop ()=0
 
virtual INT32 start ()=0
 
virtual const CHAR * getName ()=0
 
virtual BOOLEAN isCatalog ()=0
 
virtual INT32 attachNode (const CHAR *pHostName, const CHAR *pSvcName, const bson::BSONObj &options)=0
 
virtual INT32 detachNode (const CHAR *pHostName, const CHAR *pSvcName, const bson::BSONObj &options)=0
 

The documentation for this class was generated from the following file: