- com
- pcbsys
- nirvana
- nAdminAPI
- nClusterMemberConfiguration
This object is used to create/modify clusters. More...
Inherits com.pcbsys.nirvana.nAdminAPI.nPkgCloseListener.
Public Member Functions | |
void | close () |
Close all sessions in the nClusterMemberConfiguration. | |
void | closed (nRealmNode node) |
Called when the nRealmNode is closed, for internal use only. More... | |
nClusterMemberConfiguration (nSessionAttributes sessionAttributes) throws nBaseAdminException | |
Constructor using the nSessionAttributes to connect to the Nirvana Realm Server. More... | |
nClusterMemberConfiguration (String rname) throws nIllegalArgumentException, nBaseAdminException | |
Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server. More... | |
nClusterMemberConfiguration (nRealmNode realmNode) | |
Constructor using an exsiting nRealmNode. More... | |
nClusterMemberConfiguration (nSessionAttributes sessionAttributes, boolean canBeMaster) throws nBaseAdminException | |
Constructor using the nSessionAttributes to connect to the Nirvana Realm Server. More... | |
nClusterMemberConfiguration (String rname, boolean canBeMaster) throws nIllegalArgumentException, nBaseAdminException | |
Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server. More... | |
nClusterMemberConfiguration (nSessionAttributes sessionAttributes, boolean canBeMaster, String username) throws nBaseAdminException | |
Constructor using the nSessionAttributes to connect to the Nirvana Realm Server. More... | |
nClusterMemberConfiguration (String rname, boolean canBeMaster, String username) throws nIllegalArgumentException, nBaseAdminException | |
Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server. More... | |
nClusterMemberConfiguration (nRealmNode realmNode, boolean canBeMaster) | |
Constructor using an existing nRealmNode. More... | |
Protected Member Functions | |
nRealmNode | getNode () |
Returns the nRealmNode object of the Nirvana Server. More... | |
This object is used to create/modify clusters.
It contains the relavent information regarding a specific node to be added to the cluster.
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | nSessionAttributes | sessionAttributes | ) | throws nBaseAdminException |
Constructor using the nSessionAttributes to connect to the Nirvana Realm Server.
sessionAttributes | details of the server to connect to. |
nBaseAdminException | if unable to connect to the specified realm. |
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | String | rname | ) | throws nIllegalArgumentException, nBaseAdminException |
Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server.
rname | to connect to. |
nIllegalArgumentException | if the rname is not valid. |
nBaseAdminException | if unable to connect to the specified realm. |
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | nRealmNode | realmNode | ) |
Constructor using an exsiting nRealmNode.
realmNode | realm node object connected to the node to be added. |
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | nSessionAttributes | sessionAttributes, |
boolean | canBeMaster | ||
) | throws nBaseAdminException |
Constructor using the nSessionAttributes to connect to the Nirvana Realm Server.
sessionAttributes | details of the server to connect to. |
canBeMaster | boolean if this node can be a master within the cluster. |
nBaseAdminException | if unable to connect to the specified realm. |
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | String | rname, |
boolean | canBeMaster | ||
) | throws nIllegalArgumentException, nBaseAdminException |
Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server.
rname | to connect to. |
canBeMaster | boolean if this node can be a master within the cluster. |
nIllegalArgumentException | if the rname is not valid. |
nBaseAdminException | if unable to connect to the specified realm. |
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | nSessionAttributes | sessionAttributes, |
boolean | canBeMaster, | ||
String | username | ||
) | throws nBaseAdminException |
Constructor using the nSessionAttributes to connect to the Nirvana Realm Server.
sessionAttributes | details of the server to connect to. |
canBeMaster | boolean if this node can be a master within the cluster. |
username | to use to connect to the remote realm with. |
nBaseAdminException | if unable to connect to the specified realm. |
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | String | rname, |
boolean | canBeMaster, | ||
String | username | ||
) | throws nIllegalArgumentException, nBaseAdminException |
Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server.
rname | to connect to. |
canBeMaster | boolean if this node can be a master within the cluster. |
username | to use to connect to the remote realm with. |
nIllegalArgumentException | if the rname is not valid. |
nBaseAdminException | if unable to connect to the specified realm. |
com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration | ( | nRealmNode | realmNode, |
boolean | canBeMaster | ||
) |
Constructor using an existing nRealmNode.
realmNode | realm node object connected to the node to be added. |
canBeMaster | boolean if this node can be a master within the cluster. |
void com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.closed | ( | nRealmNode | node | ) |
Called when the nRealmNode is closed, for internal use only.
node | The nRealmNode which has been closed. |
|
protected |
Returns the nRealmNode object of the Nirvana Server.