jabrena / SpringCloudLab

SpringCloud examples
MIT License
0 stars 1 forks source link

Cache #58

Open jabrena opened 7 years ago

jabrena commented 7 years ago

http://javabeat.net/spring-cache/

jabrena commented 7 years ago

http://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html

jabrena commented 7 years ago

https://spring.io/guides/gs/caching/

jabrena commented 7 years ago

http://www.baeldung.com/spring-cache-tutorial

jabrena commented 7 years ago

http://stackoverflow.com/questions/27968157/expiry-time-cacheable-spring-boot

jabrena commented 7 years ago

http://stackoverflow.com/questions/24940976/how-update-remove-an-item-already-cached-within-a-collection-of-items

jabrena commented 7 years ago

https://java2practice.com/2013/03/23/spring-cacheable-and-cacheevict-explained-in-simple-terms/ @CacheEvict(value="messagecache", key="#id", condition="ts < currentTs-1min")

jabrena commented 7 years ago

http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/cache/annotation/CacheEvict.html

http://www.programcreek.com/java-api-examples/index.php?api=org.springframework.cache.annotation.CacheEvict

jabrena commented 7 years ago

http://www.captaindebug.com/2012/09/spring-31-caching-and-cacheevict.html#.WBuWpOHJzow

@CacheEvict(value = "employee", beforeInvocation = true) @CacheEvict(value="messagecache", key="#id", beforeInvocation = true, condition="ts < currentTs-1min") @Cacheable(value = "employee")

jabrena commented 7 years ago

http://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html

jabrena commented 7 years ago

http://stackoverflow.com/questions/35826385/how-to-update-spring-cache-partialllyone-field-onlywhen-object-mutates

jabrena commented 7 years ago

http://www.acooke.org/cute/Programmat0.html

@CacheEvict(value = "coverages", key = "{#network, #start, #end, #metricName}", condition = "#force", beforeInvocation = true) @Cacheable(value = "coverages", key = "{#network, #start, #end, #metricName}")

jabrena commented 7 years ago

http://www.javacodebook.com/2013/07/20/spring-book-chapter-10-caching/5/

jabrena commented 7 years ago

https://blog.tompawlak.org/useful-things-spring-expression-language-spel

jabrena commented 7 years ago

http://dhruba.name/2009/12/30/spring-expression-language-spel-primer/

jabrena commented 7 years ago

https://github.com/kilokahn/spring-testers/blob/master/spring-cache-tester/src/main/java/com/kilo/util/TTLAwareConcurrentMapFactoryBean.java