com.microstrategy.web.objects.WebClusterMembership |
The WebClusterMembership
is a collection interface of
WebClusterMember
objects. Apart from the typical methods of a
collection, it also has some methods that can be used to remove members
from the cluster or add a new member to the cluster.
WebClusterMembership
objects can be obtained through the
WebClusterSource
object
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebClusterMember |
get(int index)
Returns the
WebClusterMember at a given index within the collection | ||||||||||
abstract WebClusterMember |
get(String name)
Returns the
WebClusterMember with a given name within the collection | ||||||||||
abstract WebProjectManipulator |
getManipulator()
Get
WebProjectManipulator object to perform manipulations on projects in
cluster. | ||||||||||
abstract boolean |
isMember(String memberName)
Return whether the given member name is indeed a member of the membership
| ||||||||||
abstract void |
joinMember(String nodeName)
Adds a new member to the cluster by issuing a JoinCluster XML API
call through
IDSSXMLClusterAdmin | ||||||||||
abstract void |
leaveMember(int index)
Removes a
WebClusterMember specified by an index from the internal
collection and issues a LeaveCluster XML API call through
IDSSXMLClusterAdmin . | ||||||||||
abstract void |
leaveMember(WebClusterMember member)
Removes a particular
WebClusterMember from the internal collection of
members and issues a LeaveCluster XML API call through
IDSSXMLClusterAdmin to do the same on the IServer | ||||||||||
abstract void |
leaveMember(String name)
Removes a
WebClusterMember specified by a server name and issues a
LeaveCluster XML API call through IDSSXMLClusterAdmin . | ||||||||||
abstract int |
size()
Returns the total number of
WebClusterMember objects in the
collection |
Returns the WebClusterMember
at a given index within the collection
index | integer value representing location in collection |
---|
WebClusterMember
that index points to
WebObjectsException |
---|
Returns the WebClusterMember
with a given name within the collection
name | String value representing name of member |
---|
WebClusterMember
that index points to
WebObjectsException |
---|
Get WebProjectManipulator
object to perform manipulations on projects in
cluster. Any manipulations performed with a manipulator obtained from
this method will affect the project for all servers within the
cluster.
WebProjectManipulator
to manipulate a project across cluster
WebObjectsException |
---|
Return whether the given member name is indeed a member of the membership
memberName | String containing the name of the member to be checked |
---|
WebObjectsException |
---|
Adds a new member to the cluster by issuing a JoinCluster XML API
call through IDSSXMLClusterAdmin
nodeName | String containing the name of the server to be added to the cluster |
---|
WebObjectsException |
---|
Removes a WebClusterMember
specified by an index from the internal
collection and issues a LeaveCluster XML API call through
IDSSXMLClusterAdmin
.
index | integer value representing location in collection |
---|
WebObjectsException |
---|
Removes a particular WebClusterMember
from the internal collection of
members and issues a LeaveCluster XML API call through
IDSSXMLClusterAdmin
to do the same on the IServer
member | WebClusterMember object representation of IServer to remove from membership
|
---|
WebObjectsException |
---|
Removes a WebClusterMember
specified by a server name and issues a
LeaveCluster XML API call through IDSSXMLClusterAdmin
.
name | String value representing name of server |
---|
WebObjectsException |
---|
Returns the total number of WebClusterMember
objects in the
collection
WebObjectsException |
---|