SHARE
TWEET

Untitled

a guest Jun 27th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CacheManager customerCache = CacheManagerBuilder
  2.                 .newCacheManagerBuilder()
  3.                 .replacing(timeSourceConfiguration)
  4.                 .withCache(
  5.                         "customerCache",
  6.                         CacheConfigurationBuilder.newCacheConfigurationBuilder(
  7.                                 String.class,
  8.                                 String.class,
  9.                                 ResourcePoolsBuilder.heap(5)
  10.                         )
  11.                                 .withLoaderWriter(customerLoader)
  12.                                 .add(eventListenerBuilder)
  13.                 )
  14.                 .build(true);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top