code: public void refresh() {
          if (profileFile.lastModified() > profileFileLastModified) {
              profileFileLastModified = profileFile.lastModified();
              allProfiles = loadProfiles(profileFile);
          }
          credentialProviderCache.clear();
      }
docs: Reread data from disk.