code: protected void invalidateCacheEntry(String spaceId, String key, Object data) {
          if (isCacheEnabled()) {
              putToCache(getCacheName(), calcCacheKey(spaceId, key), data);
          }
      }
docs: Invalidate a cache entry due to updated content.
  
  @param spaceId
  @param key
  @param data