Table of Contents Previous Next


7 Performance Analysis and Tuning : 7.2 Infinite Cache : 7.2.8 edb_icache_server_enable()

You can use the edb_icache_server_enable() function to take the Infinite Cache server offline for maintenance or other planned downtime. The syntax is:
void edb_icache_server_enable(host TEXT, port INTEGER, online BOOL)
host specifies the host that you want to disable. The host name may be specified by name or numeric address.
port specifies the port number that the Infinite Cache server is listening on.
online specifies the state of the Infinite Cache server. The value of online must be true or false.
To take a server offline, specify the host that you want to disable, the port number that the Infinite Cache server is listening on, and false. To bring the Infinite Cache server back online, specify the host name and port number, and pass a value of true.
The state of a server taken offline with the edb_icache_server_enable() function is MANUAL OFFLINE. Advanced Server will not automatically reconnect to an Infinite Cache server that you have taken offline with edb_icache_server_enable(..., false); you must bring the server back online by calling edb_icache_server_enable(..., true).

7 Performance Analysis and Tuning : 7.2 Infinite Cache : 7.2.8 edb_icache_server_enable()

Table of Contents Previous Next