Package io.tesler.source.engine
Class LinkedDictionaryServiceImpl.LinkedDictionaryCache
- java.lang.Object
-
- io.tesler.source.engine.LinkedDictionaryServiceImpl.LinkedDictionaryCache
-
- Enclosing class:
- LinkedDictionaryServiceImpl
@Component public static class LinkedDictionaryServiceImpl.LinkedDictionaryCache extends Object
-
-
Constructor Summary
Constructors Constructor Description LinkedDictionaryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evictRules()
Map<String,List<DictionaryLnkRule>>
getRules(String serviceName)
-
-
-
Method Detail
-
getRules
@Cacheable(cacheNames="linkedDictionaryRules", key="{#root.methodName, #serviceName}") public Map<String,List<DictionaryLnkRule>> getRules(String serviceName)
-
evictRules
@CacheEvict(value="linkedDictionaryRules", allEntries=true) public void evictRules()
-
-