[jbosscache-issues] [JBoss JIRA] Resolved: (JBCACHE-1505) Missing getter/setter methods for the maxNodes field in org.jboss.cache.eviction.LRUAlgorithmConfig

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Apr 15 08:03:25 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBCACHE-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani resolved JBCACHE-1505.
------------------------------------

    Resolution: Cannot Reproduce Bug


Getters and setters exist - on the "EvictionAlgorithmConfigBase" abstract superclass.

> Missing getter/setter methods for the maxNodes field in org.jboss.cache.eviction.LRUAlgorithmConfig
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-1505
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1505
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Eviction
>    Affects Versions: 3.0.3.CR1
>            Reporter: Morten Hattesen
>            Assignee: Manik Surtani
>            Priority: Minor
>
> The class org.jboss.cache.eviction.LRUAlgorithmConfig is missing getter- and setter methods for the maxNodes field, which means that this field must be set via the tree-argument constructor.
> Since both timeToLive and maxAge has setter methods, it should be expected to have methods for the maxNodes field as well.
> It makes configuration using Java as well as via Spring Framework context files less clear, since it cannot be directly determined which long/int parameter to use for, say, timeToLive.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list