Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CacheManager customerCache = CacheManagerBuilder
- .newCacheManagerBuilder()
- .replacing(timeSourceConfiguration)
- .withCache(
- "customerCache",
- CacheConfigurationBuilder.newCacheConfigurationBuilder(
- String.class,
- String.class,
- ResourcePoolsBuilder.heap(5)
- )
- .withLoaderWriter(customerLoader)
- .add(eventListenerBuilder)
- )
- .build(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement