Bug 1155107
| Summary: | Cache events that aren't create/modify/remove cannot be filtered | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | William Burns <wburns> |
| Component: | Infinispan | Assignee: | Tristan Tarrant <ttarrant> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Gencur <mgencur> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.0 | CC: | jdg-bugs, mhusnain, slaskawi |
| Target Milestone: | ER4 | ||
| Target Release: | 6.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously in Red Hat JBoss Data Grid, a regression occurred, which was caused by the problem detailed in BZ-1154044, when a change was introduced to allow improved filtering for previous values. As a result, users could no longer register a filter with their listener to prevent cache events that were not of the create, modify or remove events. As an example, CacheEntryActivatedEvent could not be filtered.
This problem is now fixed by allowing the new CacheEventFilter and CacheEventFilterConverter classes to be applied to events other than create, modify and remove. As a result, users can now filter on any Cache event type except for CacheEntryEvictedEvent as it can supply multiple keys which the filter is not suited for. This only affects local listeners as cluster listeners cannot raise these events.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-28 13:27:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
William Burns
2014-10-21 11:35:11 UTC
The fix is present in ER5 and tests attached to the fix are passing. VERIFIED. |