[jboss-user] [JBoss Cache: Core Edition] - How to configure region based caching & use multiple cache l

aman21cent do-not-reply at jboss.com
Tue Apr 14 10:08:29 EDT 2009


I want to use specific cache loader for a region. How can I do that? Can I get a sample config file?

My actual goal is to use 2 different cache loaders for 2 different regions like below -

	Region /user/data/X - use JDBCCacheLoader

	Region /user/data/Y - use FileCacheLoader

I will use passivation & eviction on both regions but how can I use different loaders on individual regions?

I can run 2 sets of JBoss cache instance...& providing two configuration files....but I am trying to avoid it.

Another question - is it possible to do replication at region level?

Region X - Turn ON replication

Region Y - Turn OFF replication, which means keep the cache on local server only.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225377#4225377

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225377



More information about the jboss-user mailing list