Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=CACHE-50
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CACHE-50
Summary: Allow third party code to send event notifications
Type: Improvement
Status: Assigned
Priority: Minor
Project: OSCache
Components:
Listeners
Versions:
2.0 beta 2
Assignee: Chris Miller
Reporter: Sheldon Hearn
Created: Wed, 6 Aug 2003 8:47 AM
Updated: Wed, 6 Aug 2003 8:47 AM
Environment: OSCache used in JSP pages served by Tomcat.
JBoss providing data that we want to cache.
Description:
We're using OSCache to reduce expensive round-tripping between web containers and the EJB container.
We use groups to implement fine-grained cache control, where group names are constructed in a way that identifies the entities from which data was used in cache entries.
When entities change, the entities (running in the EJB container) fire cache flush notifications with JavaGroupsBroadcastingListener.sendNotification().
In this way, all cache entries associated with a changed entity are flushed. It works wonderfully, and OSCache rocks hard, fast and furious.
The problems are:
1) AbstractBroadcastingListener and descendents declare sendNotification() protected, and
2) ClusterNotification's FLUSH_KEY, FLUSH_GROUP, FLUSH_PATTERN and FLUSH_CACHE constants are package-protected.
This means that we have to graft our own wrapper class into the com.opensymphony.oscache.plugins.clustersupport package and reroll oscache.jar.
Please consider promoting these overly protected members to public.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.opensymphony.com/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.