Ticket #797 (new enhancement)
Cache can have another argument to guarantee timeouts instead of JVM controlled: assureTimeouts
| Reported by: | lmajano | Owned by: | lmajano |
|---|---|---|---|
| Priority: | high | Milestone: | 3.0.0 |
| Component: | ColdBox Cache | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Ability to have another argument in caching to allow setting objects in the cache with a timeout and/or last access timeout but bypassing the soft references holder. This basically allows a guaranteed timeout or last access timeout of the object without any JVM garbage collections.
Users have to be aware that this can compromise RAM as it won't be collected automatically.
Updates:
Cache Manager
set(key,object,timeout,lastAccessTimeout,assureTimeouts)
Event Caching and Object Caching Metadata Attributes
cache="boolean" cacheTimeout="min" cacheLastAccessTimeout="min" cacheAssureTimeouts="boolean"
Change History
Note: See
TracTickets for help on using
tickets.
