public void setSessionTimeout ( int timeout ) { ( ( ZKBackend ) getBackend ( ) ) . setSessionTimeout ( timeout ) ; if ( LOG . isLoggable ( Level . FINE ) ) { LOG . fine ( "Locator session timeout set to: " + timeout ) ; } }
Specify the time out of the session established at the server . The session is kept alive by requests sent by this client object . If the session is idle for a period of time that would timeout the session the client will send a PING request to keep the session alive .