[ 
https://issues.apache.org/jira/browse/OPENEJB-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901548#action_12901548
 ] 

Jarek Gawor commented on OPENEJB-1146:
--------------------------------------

I added support for stateful timeout in revision 988248 and 988255 including 
simple tests for -1, 0, and other timeouts. Part of these changes was based on 
the patch from Thiago Veronezi. I modified the SimpleCache.java to periodically 
scan the lru list for expired beans. Since each bean can have its own timeout, 
the entire lru cache is scanned. By default the lru list is scanned every 60 
seconds. 
The processing of idle beans can probably be made a bit more efficient from 
what it is now.


> javax.ejb.StatefulTimeout
> -------------------------
>
>                 Key: OPENEJB-1146
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1146
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: ejb31
>            Reporter: David Blevins
>            Assignee: Jarek Gawor
>         Attachments: OPENEJB-1146.patch, OPENEJB-1146.patch, 
> OPENEJB-1146.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to