code: private void updateLocalProfileKeyExpiryTime(String key) {
          if (key == null) return;
  
          synchronized (PROFILE_EXPIRY_MAP) {
              PROFILE_EXPIRY_MAP.put(key, calculateLocalKeyExpiryTime());
          }
      }
docs: local cache/profile key expiry handling