DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27693>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27693 [collections] Adding a TTL to LazyMap Summary: [collections] Adding a TTL to LazyMap Product: Commons Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Collections AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Would it be beyond the scope of LazyMap to add a "time to live" to a LazyMap? One could, optionally, decorate a Map with a Transformer and a long TTL value - the LazyMap would maintain a Map of timestamps and calculate an age every time an object was encountered by a get(). If an object's age exceeded the TTL, the relevant Factory or Transformer would be invoked. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]