@Override public void clear() { classMapCache.removeAll(); }
@Override public void refresh() { cache.removeAll(); }
/** * Clears the User security Level Map. This is done when security records are added or deleted */ @Override public void clearProjectLevels(Project project) { projectAndUserToSecurityLevelCache.removeAll(); // TODO: JRA-14323 //issueAndUserToSecurityLevelCache.clear(); }
@SuppressWarnings ({ "UnusedDeclaration" }) @EventListener public void onClearCache(final ClearCacheEvent event) { favouritesCache.removeAll(); }
public void removeFavouritesForEntity(final SharedEntity entity) { try { delegateStore.removeFavouritesForEntity(entity); } finally { favouritesCache.removeAll(); } }
@EventListener public void onClearCache(@SuppressWarnings("unused") final ClearCacheEvent event) { cache.removeAll(); }
private void clearUserCounts(@Nullable Object event) { final String eventName = event != null ? event.getClass().getName() : "<UNKNOWN>"; log.debug("Clearing the user counts on {}.", eventName); activeUsersCountForLicense.removeAll(); flushBillableUsersCache(); }
@EventListener public void onClearCache(@SuppressWarnings("unused") final ClearCacheEvent event) { cache.removeAll(); }
public void remove(final String name) { allMailServerCache.reset(); mailServerCache.removeAll(); }
@Override public void storeEditableDefaultColumnLayout(EditableDefaultColumnLayout editableDefaultColumnLayout) throws ColumnLayoutStorageException { storeEditableColumnLayout(editableDefaultColumnLayout, null); // The default column layout has changed, as many users might be using the default // column layout clear the whole cache userColumnLayoutCache.removeAll(); }
@Override public void restoreDefaultColumnLayout() { restoreColumnLayout(null, null); // The default column layout has changed, as many users might be using the default // column layout clear the whole cache userColumnLayoutCache.removeAll(); }
@Override public void setAttributeForAllInDirectory(final long directoryId, final String attrName, final String attrValue) { try { new SetAttributeForAllInDirectoryOperation(directoryId, attrName, attrValue).perform(); } finally { userAttributesCache.removeAll(); } }
public void updateOptions(Collection<Option> options) { super.updateOptions(options); for (Option option : options) { removeOptionFromCaches(option); } optionsCache.removeAll(); allCache.reset(); }
public Option createOption(FieldConfig fieldConfig, Long parentOptionId, Long sequence, String value) { Option option = super.createOption(fieldConfig, parentOptionId, sequence, value); removeOptionFromCaches(option); optionsCache.removeAll(); allCache.reset(); return option; }
public void disableOption(Option option) { super.disableOption(option); removeOptionFromCaches(option); optionsCache.removeAll(); allCache.reset(); }