Announcement Announcement Module
No announcement yet.
SimpleCacheManager and JMX (@Cacheable) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • SimpleCacheManager and JMX (@Cacheable)

    Hi, I configured SimpleCacheManager with ConcurrentMapCacheFactory bean.

    <bean id="cacheManager" class="">
      <property name="caches">
    	<bean class="org.springframework.cache.concurrent.ConcurrentMapCacheFactoryBean" p:name="routes" />
    Spring documentation mentioned that "SimpleCacheManager - As the cache is created by the application, it is bound to its lifecycle, making it suitable for basic use cases, tests or simple applications. The cache scales well and is very fast but it does not provide any management or persistence capabilities nor eviction contracts."

    Does it mean that I cannot monitory/modify this cache using JMX? I don't want to restart my application when my cache data needs to be refreshed.

    Thanks, Kiran