You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2008/06/06 03:07:10 UTC
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/
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.
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/
Posted by Andrew Savory <me...@andrewsavory.com>.
Hi,
2008/6/6 Antonio Gallardo <ag...@agssa.net>:
> I am glad to see you back! Please see below:
Thanks ;-)
> The above constructor is since java 1.5. Would you change the code to run
> with java 1.4? Many thanks in advance. :)
>
Ooops ... my bad. Working on it now ...
Andrew.
--
asavory@apache.org / contact@andrewsavory.com
http://www.andrewsavory.com/