Hi all,

I was hoping that I could "turn" on managers for a table by adding some sort
of manager config line to my Torque.properties.  However, it seems that
using Managers for a table requires changing your code to use the
MyTableManager object versus hitting the peer.  However, all my embedded
objects all have the use of the managers.  

Do I need to change my cache.ccf to support each table to cache results for?
Or do they inherit from a default?  It would be nice if I could turn on
caching on a per object basis.  However, if I update an object not via the
managers, then will the cached versions be deleted?

I noticed that Scarab's cache.ccf is in the classes dir.  DO I have to put
it there, or can it go in my conf directory?

Here is what I added to my cache.ccf:
# CACHE REGIONS AVAILABLE 
# Regions preconfigured for caching

jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase=
jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase.cacheattributes=or
g.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase.cacheattributes.Ma
xObjects=200
jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase.cacheattributes.Me
moryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache


Thanks,
Eric

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

Reply via email to