Package com.tietoenator.trip.jxp.grid
Class TdbGridReplicaSetMember
java.lang.Object
com.tietoenator.trip.jxp.grid.TdbGridReplicaSetMember
Container for a member of a TRIPgrid replica set, i.e. a physical database
served by a physical host
-
Constructor Summary
ConstructorsConstructorDescriptionCopy constructorTdbGridReplicaSetMember
(String host, String name) Constructor, creates a new member -
Method Summary
Modifier and TypeMethodDescriptionboolean
Overrides default to define equality only if the database name and host name are equalgetHost()
Retrieve the name of the host from which the database is publishedgetName()
Retrieve the name of the databasevoid
Establish the name of the host from which the database is publishedvoid
Establish the name of the database
-
Constructor Details
-
TdbGridReplicaSetMember
Constructor, creates a new member- Parameters:
host
- Name of host servername
- Name of database
-
TdbGridReplicaSetMember
Copy constructor- Parameters:
src
- Source of copy
-
-
Method Details
-
getName
Retrieve the name of the database- Returns:
- Database name
-
setName
Establish the name of the database- Parameters:
name
- Database name
-
getHost
Retrieve the name of the host from which the database is published- Returns:
- Host name
-
setHost
Establish the name of the host from which the database is published- Parameters:
name
-
-
equals
Overrides default to define equality only if the database name and host name are equal
-