사용자 도구

사이트 도구


java:ehcache

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
java:ehcache [2014/09/30 13:33]
kwon37xi [Update Check 끄기]
java:ehcache [2015/04/07 14:28]
kwon37xi [Replication과 Hibernate]
줄 2: 줄 2:
 ===== Singleton Cache ===== ===== Singleton Cache =====
   * 단일 JVM에서는 가능하면 Singleton ''CacheManager'' 인스턴스를 만들도록 하자.   * 단일 JVM에서는 가능하면 Singleton ''CacheManager'' 인스턴스를 만들도록 하자.
 +    * Hibernate와 Spring에서 Singleton Cache Manager를 사용하도록 하고 로딩 순서를 보정해주면 될 듯 하다.
   * [[http://techblog.bozho.net/?p=1080|Bozho's tech blog » Be Careful With (EhCache) Cache Managers]]   * [[http://techblog.bozho.net/?p=1080|Bozho's tech blog » Be Careful With (EhCache) Cache Managers]]
- +  * [[http://www.codingpedia.org/ama/spring-caching-with-ehcache/|Spring caching with Ehcache]]
-===== Update Check 끄기 ===== +
-  * [[http://ehcache.org/documentation/user-guide/configuration|ehcache configuration]] 참조 +
-  * 시스템 프라퍼티<code> +
--Dnet.sf.ehcache.skipUpdateCheck=true +
-</code> +
-  * ''ehcache.xml'' 설정 파일 : ''updateCheck="false"''<code xml> +
-<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +
-    xsi:noNamespaceSchemaLocation="ehcache.xsd" +
-    updateCheck="false" monitoring="autodetect" +
-    dynamicConfig="true"> +
-</code> +
 ===== Distributed Cache ===== ===== Distributed Cache =====
 The data is held in a Terracotta Server Array with a subset of recently used data held in each application cache node. The distributed topology, available with BigMemory Max, supports a very rich set of consistency modes. The data is held in a Terracotta Server Array with a subset of recently used data held in each application cache node. The distributed topology, available with BigMemory Max, supports a very rich set of consistency modes.
줄 35: 줄 24:
     * [[http://stackoverflow.com/questions/7099133/does-ehcache-respect-serialversionuid|java - Does ehcache respect serialVersionUID? - Stack Overflow]]     * [[http://stackoverflow.com/questions/7099133/does-ehcache-respect-serialversionuid|java - Does ehcache respect serialVersionUID? - Stack Overflow]]
     * [[http://forums.terracotta.org/forums/posts/list/5844.page|Clustered cache and serialVersionUID]]     * [[http://forums.terracotta.org/forums/posts/list/5844.page|Clustered cache and serialVersionUID]]
 +
 +==== Replication과 Hibernate ====
 +  * [[java:hibernate:cache|Hibernate Cache]] 참조.
 +
 +==== Replication과 JGroups ====
 +  * [[http://nverma-tech-blog.blogspot.kr/2013/10/ehcache-cache-replication-in-clustered.html|Tech Blog - Narendra Verma: Ehcache: Cache Replication in Clustered Environment using JGroups]]
 +
 +===== Update Check 끄기 =====
 +  * [[http://ehcache.org/documentation/user-guide/configuration|ehcache configuration]] 참조
 +  * 시스템 프라퍼티<code>
 +-Dnet.sf.ehcache.skipUpdateCheck=true
 +</code>
 +  * ''ehcache.xml'' 설정 파일 : ''updateCheck="false"''<code xml>
 +<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 +    xsi:noNamespaceSchemaLocation="ehcache.xsd"
 +    updateCheck="false" monitoring="autodetect"
 +    dynamicConfig="true">
 +</code>
 +
java/ehcache.txt · 마지막으로 수정됨: 2022/02/11 13:53 저자 kwon37xi