Example #1
0
 private User(String id, String fullName) {
   this.id = id;
   this.fullName = fullName;
   load();
 }
Example #2
0
 /** Reloads the configuration from disk. */
 public static void reload() {
   // iterate over an array to be concurrency-safe
   for (User u : byName.values().toArray(new User[0])) u.load();
 }