public void restoreAfterSafeModeRestart() {
    for (Integer pendingRequestId : pendingRequestsList) {
      ResourceRequestInfo request = idToRequest.get(pendingRequestId);
      incrementRequestCount(request.getType(), 1);
      addPendingRequest(request);
    }

    for (Integer grantedRequestId : idToGrant.keySet()) {
      ResourceRequestInfo request = idToRequest.get(grantedRequestId);
      incrementRequestCount(request.getType(), 1);
      addGrantedRequest(request);
    }
  }
public void restoreAfterSafeModeRestart ( ) { for ( Integer pendingRequestId : pendingRequestsList ) { ResourceRequestInfo request = idToRequest . get ( pendingRequestId ) ; incrementRequestCount ( request . getType ( ) , 1 ) ; addPendingRequest ( request ) ; } for ( Integer grantedRequestId : idToGrant . keySet ( ) ) { ResourceRequestInfo request = idToRequest . get ( grantedRequestId ) ; incrementRequestCount ( request . getType ( ) , 1 ) ; addGrantedRequest ( request ) ; } }
This method rebuilds members related to the Session instance, which were
not directly persisted themselves.