You implement marker interface <<Poolable>>

Jorg

MAHE Vincent FTRD/DIH/REN wrote:

Thanks.

So my question is still the same : what do I have to do in order to have my action poolable ?

Vincent

-----Message d'origine-----
De : news [mailto:[EMAIL PROTECTED] la part de Jorg Heymans
Envoy� : mardi 10 f�vrier 2004 09:43
� : [EMAIL PROTECTED]
Objet : Re: Is it possible to have poolable actions ?


Nope it doesn't, look at the Action interface, it extends Component.
The decommissiong message you're seeing is typical for non-pooled components. You can tell whether a component is properly pooled by looking for this message in the logs, if it appears then your pool for this component is generally undersized.


Jorg

MAHE Vincent FTRD/DIH/REN wrote:


Do you mean that every action already implements the Poolable interface ?

If so, why do I have these messages about "decommissioning instance of" ?

Vincent

-----Message d'origine-----
De : Nicolas Toper [mailto:[EMAIL PROTECTED]
Envoy� : lundi 9 f�vrier 2004 17:28
� : [EMAIL PROTECTED]
Objet : Re: Is it possible to have poolable actions ?


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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to