class AbstractCache implements IDataCache<T> {

  @Override
  public boolean dataIsInCache(long id) {
    return getData(id, false) != null;
  }

  public  AbstractCache(S entries, IDataStorage<T> cachedStorage, long maxCacheSize,
      Predicate<T> cachingRule);

}