EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #341 background imageLoading...
Page #341 background image
DB2ClientRerouteServerList methods
getAlternatePortNumber
Format:
public int[] getAlternatePortNumber()
Retrieves the port numbers that are associated with the alternate servers.
getAlternateServerName
Format:
public String[] getAlternateServerName()
Retrieves an array that contains the names of the alternate servers. These
values are IP addresses or DNS server names.
getPrimaryPortNumber
Format:
public int getPrimaryPortNumber()
Retrieves the port number that is associated with the primary server.
getPrimaryServerName
Format:
public String[] getPrimaryServerName()
Retrieves the name of the primary server. This value is an IP address or a DNS
server name.
setAlternatePortNumber
Format:
public void setAlternatePortNumber(int[] alternatePortNumberList)
Sets the port numbers that are associated with the alternate servers.
setAlternateServerName
Format:
public void setAlternateServerName(String[] alternateServer)
Sets the alternate server names for servers. These values are IP addresses or
DNS server names.
setPrimaryPortNumber
Format:
public void setPrimaryPortNumber(int primaryPortNumber)
Sets the port number that is associated with the primary server.
setPrimaryServerName
Format:
public void setPrimaryServerName(String primaryServer)
Sets the primary server name for a server. This value is an IP address or a
DNS server name.
Related concepts
IBM Data Server Driver for JDBC and SQLJ client reroute support” on page
84
Chapter 7. JDBC and SQLJ reference information 325

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability