/** * Updates the database tables with new session state, waitTime and metadata. * * @param state the state of this session. */ private void updateUserSession(int state) { // Update the current session. request.updateSession(state, offerTime.getTime()); }