POOL.IDLE

POOL.IDLE

Top  Previous  Next

 

The POOL.IDLE statement moves a phantom process into the idle state when using connection pooling.

 

 

Format

 

POOL.IDLE

 

 

The POOL.IDLE statement applies only to phantom processes that are members of a connection pool. It is ignored in all other process types.

 
Entering the idle state will close any socket referenced by the @SOCKET variable and then wait for new work. If the pool's idle process limit has been reached or the process remains idle for the timeout period of the pool, it will be terminated.

 

 

See also:

Connection pooling, PHANTOM command, QMBasic PHANTOM statement