From: <ssk...@vh...> - 2005-09-14 20:01:15
|
Author: sskracic Date: 2005-09-14 21:51:59 +0200 (Wed, 14 Sep 2005) New Revision: 808 Modified: ccm-core/trunk/src/com/arsdigita/caching/CacheTable.java Log: There's no reason for this symbols to be private, they might be useful. Modified: ccm-core/trunk/src/com/arsdigita/caching/CacheTable.java =================================================================== --- ccm-core/trunk/src/com/arsdigita/caching/CacheTable.java 2005-09-14 16:03:05 UTC (rev 807) +++ ccm-core/trunk/src/com/arsdigita/caching/CacheTable.java 2005-09-14 19:51:59 UTC (rev 808) @@ -53,13 +53,13 @@ // this was 20, which was too high for small setups // cached Templates were eating 4megs each, so there you go - private static final int MIN_CACHE_SIZE = 2; + public static final int MIN_CACHE_SIZE = 2; - private static final int MAX_CACHE_SIZE = 1000000; - private static final int MIN_CACHE_AGE = 5; - private static final int MAX_CACHE_AGE = 60*60*24*30; - private static final int DEFAULT_CACHE_SIZE = 1000; - private static final int DEFAULT_CACHE_AGE = 300; + public static final int MAX_CACHE_SIZE = 1000000; + public static final int MIN_CACHE_AGE = 5; + public static final int MAX_CACHE_AGE = 60*60*24*30; + public static final int DEFAULT_CACHE_SIZE = 1000; + public static final int DEFAULT_CACHE_AGE = 300; private static Map s_caches = new Hashtable(); |