English 中文(简体)
我如何从方案上排除对Ehcache进行的最新检查?
原标题:How do I programmatically disable the update checks for an Ehcache?
  • 时间:2010-03-24 10:38:48
  •  标签:
  • ehcache

我知道,“最新Check”的属性可以在类似于XML的“false”中确定:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../config/ehcache.xsd" updateCheck="false" monitoring="autodetect">

但我需要以方案方式这样做。 我应该怎样做?

问题回答

在你之前要求你履行任何教职:

System.setProperty("net.sf.ehcache.skipUpdateCheck", "true");




相关问题
When using ehcache, what synchronization do I need to do?

Let s say I start with a single CacheManager like this: private static CacheManager manager = CacheManager.create(); When I call getCache or addCache do I need to synchronize on the CacheManager ...

Terracotta With Hibernate and EHCache

Head swimming with the product name soup at http://www.terracotta.org. Need someone to help clarify what I need. Background: app has some "legacy" persistence code that does not use Hibernate, but ...

problem creating an EhCache Cache from spring

Reading the javadoc for EhCacheManagerFactoryBean and EhCacheFactoryBean I figured that: <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:...

重要数据

我有兴趣获得关于我所管理的Ehcache的统计数字。

Architecture question for implementation of a cache server

This is something of an architecture question. I have this idea of having a server with huge memory, that is used as a big objects cache holder. The clients send "Actions" to this server(like Search ...

cannot do 2nd level cache

in my applicationcontext.xml <bean id="annotatedsessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> <property name="packagesToScan" value="...

EntityDelete ColdFusion EHCache

How do i delete an Hibernate Entity that is being cached by EHcache and by using Entitydelete in coldfusion?

热门标签