public User getUser(Integer userId) {
    return getUser(getUserEntity(userId));
  }
The maximum number of retries when handling OptimisticLockExceptions
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/Users.java