dpiPool_getMaxLifetimeSession

Function dpiPool_getMaxLifetimeSession 

Source
pub unsafe extern "C" fn dpiPool_getMaxLifetimeSession(
    pool: *mut dpiPool,
    value: *mut u32,
) -> c_int
Expand description

Returns the maximum lifetime a pooled session may exist, in seconds. Sessions in use will not be closed. They become candidates for termination only when they are released back to the pool and have existed for longer then the returned value. Note that termination only occurs when the pool is accessed. The value 0 means that there is no maximum length of time that a pooled session may exist.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.