공부
[Java] Ehcache get, update (refresh key)
승가비
2022. 1. 2. 19:02
728x90
@Cacheable(value = "devices", key = "#hardwareId", unless = "#result == null")
public Device get(String hardwareId)
@CachePut(value ="devices", key= "#hardwardId", unless = "#result == null")
public Device update(String hardwareId)
https://stackoverflow.com/questions/48945484/java-ehcache-how-to-replace-members
Java ehCache, how to replace members
I have a simple method that I have annotated for caching. @Cacheable(value = "devices", key = "#hardwareId", unless = "#result == null") public Device get(String hardwareId) I have a mechanis...
stackoverflow.com
728x90