[ http://issues.apache.org/jira/browse/OJB-56?page=comments#action_12314930 
] 

Armin Waibel commented on OJB-56:
---------------------------------

Think for OJB 1.1 we should rethink the Caching-api in general, so new methods 
for clear/evict the cache can be added.

In OJB 1.1 the caching-stuff will be more complex (e.g. introduction of a 
SessionCache, better separation of the ObjectCache, ...) so I tend to add new 
caching-related methods  to the SessionCache interface (and not to PB). The 
SessionCache will be the entry point for all caching stuff.

> New functionality for cache
> ---------------------------
>
>          Key: OJB-56
>          URL: http://issues.apache.org/jira/browse/OJB-56
>      Project: OJB
>         Type: New Feature
>   Components: PB-API
>     Reporter: Armin Waibel

>
> Caching:
> Request by David WIESZTAL
> <snip>
> OJB allows to define one cache strategy (<object-cache>) per class
> descriptor.
> Unfortunatly, the persistence broker allows only a global clear of the
> cache.
> I think it would nice to have a method like :
> PersistenceBroker.clearCache(Class clazz)
> This method will get the right cache via CacheDistributor and clear only
> this one, instead of all the
> caches of the CacheDistributor.
> </snip>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to