[JBoss JIRA] (JBCACHE-1633) ExpirationAlgorithm ignores entries loaded from a cache loader
by Dennis Reed (JIRA)
[ https://issues.jboss.org/browse/JBCACHE-1633?page=com.atlassian.jira.plug... ]
Dennis Reed commented on JBCACHE-1633:
--------------------------------------
Out of the shipped eviction policies, it only appears to affect ExpirationAlgorithm since it's the only one that ignores any events.
Fix is to remove ExpirationAlgorithm#canIgnoreEvent and ExpirationPolicy#canIgnoreEvent, in order to use the default of "return false".
> ExpirationAlgorithm ignores entries loaded from a cache loader
> --------------------------------------------------------------
>
> Key: JBCACHE-1633
> URL: https://issues.jboss.org/browse/JBCACHE-1633
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Eviction
> Affects Versions: 3.2.7.GA
> Reporter: Dennis Reed
> Assignee: Dennis Reed
>
> ExpirationAlgorithm ignores VISIT_NODE_EVENT notifications.
> However, these are the only notifications sent when loading an entry from a cache loader.
> Because of this, any entries loaded from a cache loader are never evicted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (JBCACHE-1633) ExpirationAlgorithm ignores entries loaded from a cache loader
by Dennis Reed (JIRA)
Dennis Reed created JBCACHE-1633:
------------------------------------
Summary: ExpirationAlgorithm ignores entries loaded from a cache loader
Key: JBCACHE-1633
URL: https://issues.jboss.org/browse/JBCACHE-1633
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Eviction
Affects Versions: 3.2.7.GA
Reporter: Dennis Reed
Assignee: Dennis Reed
ExpirationAlgorithm ignores VISIT_NODE_EVENT notifications.
However, these are the only notifications sent when loading an entry from a cache loader.
Because of this, any entries loaded from a cache loader are never evicted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months