You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2015/04/06 17:33:12 UTC
[jira] [Resolved] (JCS-16) The
jcs.default.cacheattributes.MaxObjects does not work as expected.
[ https://issues.apache.org/jira/browse/JCS-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Vandahl resolved JCS-16.
-------------------------------
Resolution: Cannot Reproduce
Assignee: Thomas Vandahl (was: Aaron Smuts)
Looks like this has been fixed long ago.
> The jcs.default.cacheattributes.MaxObjects does not work as expected.
> ---------------------------------------------------------------------
>
> Key: JCS-16
> URL: https://issues.apache.org/jira/browse/JCS-16
> Project: Commons JCS
> Issue Type: Bug
> Components: Composite Cache
> Affects Versions: jcs-1.3
> Environment: Windows
> Reporter: Peter Lawrey
> Assignee: Thomas Vandahl
> Priority: Minor
> Fix For: jcs-2.0-beta-2
>
>
> Using code based on JSCThrashTest ..
> jcs.default=
> jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
> jcs.default.cacheattributes.MaxObjects=10000
> jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
> If I add 10,000 elements the getListSize() return 9,998 elements.
> If I change the MaxObjects to 10002 and add 15 K elements the getListSize() return 10,000 elements.
> Is there a good reason I need to add 2 to MaxObjects?
> I have scanned the cache and found there is actually 10000 elements when MaxObject is set to 10002
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)