Hi devs,
I just uploaded a refactoring related to the stateful cache and the
management of timedout stateful beans. It is base on the last Jarek
changes.

With this refactoring, we don't need to worry about cache cleanup interval.
Every timedout bean is remove when its timeout date is reached, even if the
bean is persisted on disk. This can save some extra loops when using
stateful beans and add the timeout feature to passivated beans. Most of the
changes are found at the SimpleCache class, but I've also added a new class
(RemoveBeanThread) and changed a little bit the StatefulContainer class.

Jarek, you are the one for this review... as you have it fresh in your mind.
Please, codereview it for me...  but anyone is welcome to review it. :O)

https://issues.apache.org/jira/browse/OPENEJB-1345

tkx a lot!
Thiago.

Reply via email to