Class WarlockRoleServiceImpl.Caching
-
- All Implemented Interfaces:
@CacheConfig(cacheNames = "service~WarlockRoleService!", cacheManager = "MemoryCacheManager") public class WarlockRoleServiceImpl.Caching- Since:
2021-03-07
trydofor
-
-
Constructor Summary
Constructors Constructor Description WarlockRoleServiceImpl.Caching()
-
Method Summary
Modifier and Type Method Description Map<Long, String>loadRoleAll()booleanevictRoleAllCache(TableChangeEvent event)Async evict all cache, event can be null longcreate(@NotNull() String name, String remark)voidmodify(long roleId, String remark)voidsetWinRoleEntryDao(WinRoleEntryDao winRoleEntryDao)voidsetLightIdService(LightIdService lightIdService)voidsetJournalService(JournalService journalService)voidsetPermNormalizer(WarlockPermNormalizer permNormalizer)voidsetWingsTableCudHandler(WingsTableCudHandler wingsTableCudHandler)-
-
Method Detail
-
loadRoleAll
@Cacheable() Map<Long, String> loadRoleAll()
-
evictRoleAllCache
@EventListener()@CacheEvict(allEntries = true, condition = "#result") boolean evictRoleAllCache(TableChangeEvent event)
Async evict all cache, event can be null
-
setWinRoleEntryDao
@Autowired() void setWinRoleEntryDao(WinRoleEntryDao winRoleEntryDao)
-
setLightIdService
@Autowired() void setLightIdService(LightIdService lightIdService)
-
setJournalService
@Autowired() void setJournalService(JournalService journalService)
-
setPermNormalizer
@Autowired() void setPermNormalizer(WarlockPermNormalizer permNormalizer)
-
setWingsTableCudHandler
@Autowired() void setWingsTableCudHandler(WingsTableCudHandler wingsTableCudHandler)
-
-
-
-