> From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > > >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! > >> 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 to > >> 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. It is possible to intercept "ctrl-c" with hooks, but I'm not sure how it will work under security manager. Vadim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]