cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject Re: svn commit: r662435 - in /cocoon/branches/BRANCH_2_1_X: ./ src/blocks/eventcache/java/org/apache/cocoon/caching/impl/ src/blocks/eventcache/java/org/apache/cocoon/samples/ src/java/org/apache/cocoon/components/store/impl/
Date Fri, 06 Jun 2008 01:07:10 GMT
Hi Andrew,

I am glad to see you back! Please see below:


asavory@apache.org escribió:
> Author: asavory
> Date: Mon Jun  2 06:51:32 2008
> New Revision: 662435
>
> URL: http://svn.apache.org/viewvc?rev=662435&view=rev
> Log:
> COCOON-2152 apply fix from Ellis Pritchard; make samples work again
>
>
>   

> Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
> URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java?rev=662435&r1=662434&r2=662435&view=diff
> ==============================================================================
> --- cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
(original)
> +++ cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
Mon Jun  2 06:51:32 2008
> @@ -34,72 +39,83 @@
>  
>  /**
>   * This implementation holds all mappings between Events and PipelineCacheKeys 
> - * in two MultiHashMap to facilitate efficient lookup by either as Key.
> + * in two MultiValueMaps to facilitate efficient lookup by either as Key.
>   * 
> - * @author Geoff Howard (ghoward@apache.org)
>   * @version $Id$
>   */
> -public class EventAwareCacheImpl extends CacheImpl implements Initializable,
> -                                                              EventAware {
> -    
> +public class EventAwareCacheImpl
> +    extends CacheImpl
> +    implements Initializable, Startable, EventAware {
> +
>      private ServiceManager m_manager;
>  
> -	private EventRegistry m_eventRegistry;
> +    private EventRegistry m_eventRegistry;
> +
> +    // clean-up thread
> +    private static final Timer timer = new Timer("event-cache-checker",true);
>   

The above constructor is since java 1.5. Would you change the code to 
run with java 1.4? Many thanks in advance. :)

Best Regards,

Antonio Gallardo.

Mime
View raw message