]
Manik Surtani resolved JBCACHE-1169.
------------------------------------
Fix Version/s: 2.2.0.CR4
2.2.0.GA
(was: 3.0.0)
Resolution: Done
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
Fix For: 2.2.0.CR4, 2.2.0.GA
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: