public class TdbGridReplicaSetMember
extends java.lang.Object
| Constructor and Description |
|---|
TdbGridReplicaSetMember(java.lang.String host,
java.lang.String name)
Constructor, creates a new member
|
TdbGridReplicaSetMember(TdbGridReplicaSetMember src)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Overrides default to define equality only if the database name and
host name are equal
|
java.lang.String |
getHost()
Retrieve the name of the host from which the database is published
|
java.lang.String |
getName()
Retrieve the name of the database
|
void |
setHost(java.lang.String name)
Establish the name of the host from which the database is published
|
void |
setName(java.lang.String name)
Establish the name of the database
|
public TdbGridReplicaSetMember(java.lang.String host,
java.lang.String name)
host - Name of host servername - Name of databasepublic TdbGridReplicaSetMember(TdbGridReplicaSetMember src)
src - Source of copypublic java.lang.String getName()
public void setName(java.lang.String name)
name - Database namepublic java.lang.String getHost()
public void setHost(java.lang.String name)
name - public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - Object to test