The cache uses soft-references which allows objects (softly) referenced by the cache to be reclaimed by the Java Garbage Collector when they are not longer referenced elsewhere.
NOTE: Handle with care! If multiple PB instances are used (OJB standard behavior) you will run into synchronization problems.
Implementation configuration properties:
Property Key | Property Values |
timeout | Lifetime of the cached objects in seconds. If expired the cached object was not returned on lookup call (and removed from cache). |
|
|
|
|
|
|