com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration Class Reference

This object is used to create/modify clusters. More...

Inherits com::pcbsys::nirvana::nAdminAPI::nPkgCloseListener.


Public Member Functions

void closed (nRealmNode node)
 Called when the nRealmNode is closed, for internal use only.
 nClusterMemberConfiguration (nRealmNode realmNode, boolean canBeMaster)
 Constructor using an exsiting nRealmNode.
 nClusterMemberConfiguration (String rname, boolean canBeMaster, String username) throws nIllegalArgumentException, nBaseAdminException
 Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server.
 nClusterMemberConfiguration (nSessionAttributes sessionAttributes, boolean canBeMaster, String username) throws nBaseAdminException
 Constructor using the nSessionAttributes to connect to the Nirvana Realm Server.
 nClusterMemberConfiguration (String rname, boolean canBeMaster) throws nIllegalArgumentException, nBaseAdminException
 Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server.
 nClusterMemberConfiguration (nSessionAttributes sessionAttributes, boolean canBeMaster) throws nBaseAdminException
 Constructor using the nSessionAttributes to connect to the Nirvana Realm Server.
 nClusterMemberConfiguration (nRealmNode realmNode)
 Constructor using an exsiting nRealmNode.
 nClusterMemberConfiguration (String rname) throws nIllegalArgumentException, nBaseAdminException
 Constructor using a Nirvana Realm URL to connect to the Nirvana Realm server.
 nClusterMemberConfiguration (nSessionAttributes sessionAttributes) throws nBaseAdminException
 Constructor using the nSessionAttributes to connect to the Nirvana Realm Server.

Detailed Description

This object is used to create/modify clusters.

It contains the relavent information regarding a specific node to be added to the cluster.


Constructor & Destructor Documentation

com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.nClusterMemberConfiguration ( nSessionAttributes  sessionAttributes  )  throws nBaseAdminException

Constructor using the nSessionAttributes to connect to the Nirvana Realm Server.

Parameters:
sessionAttributes details of the server to connect to.
Exceptions:
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.

Parameters:
rname to connect to.
Exceptions:
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.

Parameters:
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.

Parameters:
sessionAttributes details of the server to connect to.
canBeMaster boolean if this node can be a master within the cluster.
Exceptions:
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.

Parameters:
rname to connect to.
canBeMaster boolean if this node can be a master within the cluster.
Exceptions:
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.

Parameters:
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.
Exceptions:
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.

Parameters:
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.
Exceptions:
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 exsiting nRealmNode.

Parameters:
realmNode realm node object connected to the node to be added.
canBeMaster boolean if this node can be a master within the cluster.


Member Function Documentation

void com.pcbsys.nirvana.nAdminAPI.nClusterMemberConfiguration.closed ( nRealmNode  node  ) 

Called when the nRealmNode is closed, for internal use only.

Parameters:
node The nRealmNode which has been closed. Ê