Пример #1
0
  public UserCacheMgr(Cognoscenti _cog) throws Exception {
    cog = _cog;
    needsRecalc = new HashSet<String>();

    // now initialize all users as needing a recalc sisce we don't know who
    // needed update at the time the server was last shut down.
    for (UserProfile up : UserManager.getAllUserProfiles()) {
      needsRecalc.add(up.getKey());
    }
  }