[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1169) some methods in eviction queue classes have package-only visibility - can it be changed?
dana enescu (JIRA)
jira-events at lists.jboss.org
Fri Aug 24 04:22:18 EDT 2007
some methods in eviction queue classes have package-only visibility - can it be changed?
----------------------------------------------------------------------------------------
Key: JBCACHE-1169
URL: http://jira.jboss.com/jira/browse/JBCACHE-1169
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Eviction
Affects Versions: 2.0.0.GA
Reporter: dana enescu
Assigned To: Manik Surtani
Priority: Minor
I have been trying to implement my own cache eviction policy. The most convenient way for me was to extend LFU, instead of implementing the interfaces from scratch.
However, the ctor and the prune() method in LFUQueue have package-only visibility, so I had to do a nasty workaround. There may be similar issues in other classes of the eviction package.
IMO it would be better that these methods are made either public or protected, depending on what you want to expose to the users. I did not report it as a bug but rather as a feature request, since I do not know the developer's intent.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list