You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dk...@apache.org on 2011/09/20 02:32:46 UTC
svn commit: r1172921 - in /camel/branches/camel-2.8.x: ./
camel-core/src/main/java/org/apache/camel/util/LRUCache.java
Author: dkulp
Date: Tue Sep 20 00:32:45 2011
New Revision: 1172921
URL: http://svn.apache.org/viewvc?rev=1172921&view=rev
Log:
Merged revisions 1164698 via svnmerge from
https://svn.apache.org/repos/asf/camel/trunk
........
r1164698 | dkulp | 2011-09-02 16:40:33 -0400 (Fri, 02 Sep 2011) | 2 lines
Having a serialVersionUID generates a warning if the class is not
Serializable so make LRUCache also serializable
........
Modified:
camel/branches/camel-2.8.x/ (props changed)
camel/branches/camel-2.8.x/camel-core/src/main/java/org/apache/camel/util/LRUCache.java
Propchange: camel/branches/camel-2.8.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: camel/branches/camel-2.8.x/camel-core/src/main/java/org/apache/camel/util/LRUCache.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/camel-core/src/main/java/org/apache/camel/util/LRUCache.java?rev=1172921&r1=1172920&r2=1172921&view=diff
==============================================================================
--- camel/branches/camel-2.8.x/camel-core/src/main/java/org/apache/camel/util/LRUCache.java (original)
+++ camel/branches/camel-2.8.x/camel-core/src/main/java/org/apache/camel/util/LRUCache.java Tue Sep 20 00:32:45 2011
@@ -31,6 +31,7 @@ import com.googlecode.concurrentlinkedha
*/
public class LRUCache<K, V> implements Map<K, V>, Serializable {
private static final long serialVersionUID = -342098639681884414L;
+
private int maxCacheSize = 10000;
private final AtomicLong hits = new AtomicLong();
private final AtomicLong misses = new AtomicLong();