java.lang.Object | |
↳ | com.microstrategy.utils.xml.builders.ServerClusteringStartupMembershipBuilder |
ServerClusteringStartupMembershipBuilder
is used to generate an XML server list
of all the servers to be clustered at the restart of an IServer. By adding and removing
server names from this object, one can control which names are placed into the generated
XML. This object is designed specifically to be used when manipulating the
ServerClsuteringStartupMembership serverSetting of WebServerDef
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ServerClusteringStartupMembershipBuilder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
add(String serverName)
Adds a new server name to the set of servers to include in the cluster at startup
| ||||||||||
void |
clear()
Removes all server names from the internal cluster set
| ||||||||||
String |
generateXML()
Generates XML from its internal structures
| ||||||||||
Set<String> |
getCopyOfMembership()
Returns a copy of the current membership
| ||||||||||
void |
parseXML(String xml)
Sets the internal structures from the provided XML
| ||||||||||
void |
remove(String serverName)
Removes a server name from the set of servers to be included in a cluster at startup
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds a new server name to the set of servers to include in the cluster at startup
serverName | String containing the member name to add to the membership |
---|
Removes all server names from the internal cluster set
Generates XML from its internal structures
Returns a copy of the current membership
Sets the internal structures from the provided XML
xml | String in the form of
|
---|
SAXException |
---|
Removes a server name from the set of servers to be included in a cluster at startup
serverName | String containing the member name to add to the membership |
---|