@Test void testStoredElement() { assertTrue(repository.isStored(storable.getName())); }
@Override public boolean isStored(@NonNull String name) { return cache.getIfPresent(name) != null; }
CopybookRepositoryLRU implements CopybookRepository { @Override public boolean isStored(@NonNull String name) { return cache.getIfPresent(name) != null; } }
CopybookRepositoryLRU implements CopybookRepository { @Override public boolean isStored(@NonNull String name) { return cache.getIfPresent(name) != null; } @Inject  CopybookRepositoryLRU(
      @Named("CACHE-MAX-SIZE") int cacheSize,
      @Named("CACHE-DURATION") int duration,
      @Named("CACHE-TIME-UNIT") String timeUnitName);   CopybookRepositoryLRU(int cacheSize, int duration, String timeUnitName, Ticker ticker); }
CopybookRepositoryLRU implements CopybookRepository { @Override public boolean isStored(@NonNull String name) { return cache.getIfPresent(name) != null; } @Inject  CopybookRepositoryLRU(
      @Named("CACHE-MAX-SIZE") int cacheSize,
      @Named("CACHE-DURATION") int duration,
      @Named("CACHE-TIME-UNIT") String timeUnitName);   CopybookRepositoryLRU(int cacheSize, int duration, String timeUnitName, Ticker ticker); @Override Optional<CopybookModel> getCopybookStorableFromCache(@NonNull String name); @Override synchronized void persist(@NonNull CopybookModel copybookModel); @Override String logContent(); @Override int size(); @Override boolean isStored(@NonNull String name); @Override void invalidateCache(); }
CopybookRepositoryLRU implements CopybookRepository { @Override public boolean isStored(@NonNull String name) { return cache.getIfPresent(name) != null; } @Inject  CopybookRepositoryLRU(
      @Named("CACHE-MAX-SIZE") int cacheSize,
      @Named("CACHE-DURATION") int duration,
      @Named("CACHE-TIME-UNIT") String timeUnitName);   CopybookRepositoryLRU(int cacheSize, int duration, String timeUnitName, Ticker ticker); @Override Optional<CopybookModel> getCopybookStorableFromCache(@NonNull String name); @Override synchronized void persist(@NonNull CopybookModel copybookModel); @Override String logContent(); @Override int size(); @Override boolean isStored(@NonNull String name); @Override void invalidateCache();  }