@Test public void testRefreshOverwrite() { cache.set(CACHE_KEY, 4); assertEquals(4, cache.get(CACHE_KEY)); sut.refresh(KEY_VALUE, CACHE_DATA); assertEquals(CACHE_DATA, cache.get(CACHE_KEY)); }
@Override public void refresh(final TRequestType inRequest, final TResponseType inResponse) { getCache().set(keyPrefix + inRequest.toString(), inResponse); }
SetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        RefreshStrategy<TRequestType, TResponseType> { @Override public void refresh(final TRequestType inRequest, final TResponseType inResponse) { getCache().set(keyPrefix + inRequest.toString(), inResponse); } }
SetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        RefreshStrategy<TRequestType, TResponseType> { @Override public void refresh(final TRequestType inRequest, final TResponseType inResponse) { getCache().set(keyPrefix + inRequest.toString(), inResponse); } SetKeyedSingleValueCacheMapper(final String inKeyPrefix); }
SetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        RefreshStrategy<TRequestType, TResponseType> { @Override public void refresh(final TRequestType inRequest, final TResponseType inResponse) { getCache().set(keyPrefix + inRequest.toString(), inResponse); } SetKeyedSingleValueCacheMapper(final String inKeyPrefix); @Override void refresh(final TRequestType inRequest, final TResponseType inResponse); }
SetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        RefreshStrategy<TRequestType, TResponseType> { @Override public void refresh(final TRequestType inRequest, final TResponseType inResponse) { getCache().set(keyPrefix + inRequest.toString(), inResponse); } SetKeyedSingleValueCacheMapper(final String inKeyPrefix); @Override void refresh(final TRequestType inRequest, final TResponseType inResponse);  }