cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <g-froehl...@gmx.de>
Subject RE: cvs commit: MRUMemoryStore.java FilesystemQueueObject.java
Date Mon, 28 Jan 2002 20:57:45 GMT
Hi,

>From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
>
>> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
>> 
>> >New store implementation - does it swaps to file system when removing
>> >items from the stores?
>> 
>> Yep it does. When the free() method is called, the oldest object is
>> swapped to Filsystem. That's the main difference here.
>
>Good!

I'm not that paranoid ;-).

>> >> At least I see no way how to handle a formal shutdown. Did would be
>> >> the best. Then we could catch this event and save the memory store down
>> >> the Filesystem.
>> >
>> >No problems with this. Implement Disposable interface.
>> 
>> Does it catch "ctlr-c" or "kill" under Unix, when I shutdown for i.e.
>>Tomcat
>
>"ctrl-c" is "informal" shutdown ;) Formal one is "catalina stop", and
>dispose() then will be called on all objects.

Au, I uses "ctrl-c" or "kill" all the time;). Ok then I will put that into
the dipose method. And again learned something new!

>It is possible to intercept "ctrl-c" with hooks, but I'm not sure how it
>will work under security manager.

Naah I didn't heard nice things about that!
 
  Gerhard

"This message was printed on all-new,
100% virgin electrons
(Tom Harrington)"


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message