EasyManua.ls Logo

IBM DB2

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
Loading...
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