/** * Removes a cached item if exists and calls a {@link #getItem}. * This can happen when the generated files was removed by an external event. * @param itemKey the key of the item to re-generate */ synchronized Pair<Item, Boolean> regenerateItem(@NonNull ILogger logger, @NonNull T itemKey) { mMap.remove(itemKey); return getItem(logger, itemKey); }