ServerSessionContext setKeepAliveIndex ( long keepAliveIndex ) { long previousKeepAliveIndex = this . keepAliveIndex ; this . keepAliveIndex = keepAliveIndex ; if ( previousKeepAliveIndex > 0 ) { log . release ( previousKeepAliveIndex ) ; } return this ; }
Sets the current session keep alive index .