/** * Removes all entries from the cache. */ public void clear() { cache.evictAll(); }
/** * Removes all entries from the cache. */ public void clear() { cache.evictAll(); }
/** * Removes all entries from the cache. */ public void clear() { cache.evictAll(); }
/** * Removes all entries from the cache. */ public void clear() { cache.evictAll(); }
/** * Removes all entries from the cache. */ public void clear() { cache.evictAll(); }
/** * Removes all entries from the cache. */ public void clear() { cache.evictAll(); }
/** * Removes all entries from the cache. */ public void clear() { cache.evictAll(); }
private synchronized void rebuild() throws PinManagerException { // reread the pin file String pinFileContents = readPinFile(); if (pinFileContents != null) { // rebuild the pinned certs for (String entry : getPinFileEntries(pinFileContents)) { try { PinListEntry pin = new PinListEntry(entry, certStore); entries.put(pin.getCommonName(), pin); } catch (PinEntryException e) { log("Pinlist contains a malformed pin: " + entry, e); } } // clear the cache hostnameCache.evictAll(); // set the last modified time lastModified = pinFile.lastModified(); // we've been fully initialized and are ready to go initialized = true; } }
private synchronized void rebuild() throws PinManagerException { // reread the pin file String pinFileContents = readPinFile(); if (pinFileContents != null) { // rebuild the pinned certs for (String entry : getPinFileEntries(pinFileContents)) { try { PinListEntry pin = new PinListEntry(entry, certStore); entries.put(pin.getCommonName(), pin); } catch (PinEntryException e) { log("Pinlist contains a malformed pin: " + entry, e); } } // clear the cache hostnameCache.evictAll(); // set the last modified time lastModified = pinFile.lastModified(); // we've been fully initialized and are ready to go initialized = true; } }