You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by MAHE Vincent FTRD/DIH/REN <vi...@rd.francetelecom.com> on 2004/02/09 17:23:02 UTC
Is it possible to have poolable actions ?
Hi,
I'm using
When I test my webapp in DEBUG mode, I have the following lines in the sitemap.log file :
DEBUG (2004-02-09) 11:11.41:727 [sitemap] (/test/) tcpConnection-80-0/DefaultComponentFactory: ComponentFactory creating new instance of mobivisit.acting._common.SessionIsValidAction.
DEBUG (2004-02-09) 11:11.41:727 [sitemap] (/test/) tcpConnection-80-0/DefaultComponentFactory: logger attribute is sitemap.action.session-isvalid
DEBUG (2004-02-09) 11:11.41:727 [sitemap] (/test/) tcpConnection-80-0/DefaultComponentFactory: ComponentFactory decommissioning instance of mobivisit.acting._common.SessionIsValidAction.
If I had pool-min or pool-max parameters in my sitemap, it doesn't change anything.
Isn't it possible to have a Cocoon action poolable ?
I have seen in the doc that there are such actions like AbstractXMLFormAction which implements the excalibur.pool.Poolable interface.
Do you think I can have better performances if I implement this interface in my actions ?
Vincent
Re: Is it possible to have poolable actions ?
Posted by Nicolas Toper <nt...@jouve.fr>.
Well, yes you have to implement actions interface :=) See the archives and the
wiki
Le Lundi 09 Février 2004 17:23, MAHE Vincent FTRD/DIH/REN a écrit :
> Hi,
>
> I'm using
>
> When I test my webapp in DEBUG mode, I have the following lines in the
> sitemap.log file :
>
> DEBUG (2004-02-09) 11:11.41:727 [sitemap] (/test/)
> tcpConnection-80-0/DefaultComponentFactory: ComponentFactory creating new
> instance of mobivisit.acting._common.SessionIsValidAction. DEBUG
> (2004-02-09) 11:11.41:727 [sitemap] (/test/)
> tcpConnection-80-0/DefaultComponentFactory: logger attribute is
> sitemap.action.session-isvalid DEBUG (2004-02-09) 11:11.41:727
> [sitemap] (/test/) tcpConnection-80-0/DefaultComponentFactory:
> ComponentFactory decommissioning instance of
> mobivisit.acting._common.SessionIsValidAction.
>
> If I had pool-min or pool-max parameters in my sitemap, it doesn't change
> anything.
>
> Isn't it possible to have a Cocoon action poolable ?
>
> I have seen in the doc that there are such actions like
> AbstractXMLFormAction which implements the excalibur.pool.Poolable
> interface.
>
> Do you think I can have better performances if I implement this interface
> in my actions ?
>
> Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org