svn commit: r615365 - /jakarta/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java

[email protected]
Newsgroups gmane.comp.jakarta.turbine.jcs.devel
Message-ID <[email protected]>
Author: tv
Date: Fri Jan 25 13:57:15 2008
New Revision: 615365

URL: http://svn.apache.org/viewvc?rev=615365&view=rev
Log:
Added event creation on request. Fixes JCS-33

Modified:
    jakarta/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java?rev=615365&r1=615364&r2=615365&view=diff
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java Fri Jan 25 13:57:15 2008
@@ -629,6 +629,8 @@
                     {
                         log.debug( "Exceeded maxLife: " + element.getKey() );
                     }
+                    
+                    handleElementEvent( element, IElementEventConstants.ELEMENT_EVENT_EXCEEDED_MAXLIFE_ONREQUEST );
 
                     return true;
                 }
@@ -646,6 +648,8 @@
                     {
                         log.info( "Exceeded maxIdle: " + element.getKey() );
                     }
+
+                    handleElementEvent( element, IElementEventConstants.ELEMENT_EVENT_EXCEEDED_IDLETIME_ONREQUEST );
 
                     return true;
                 }
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.