[jboss-dev-forums] [Design of JBossCache] - Re: JBoss Cache Options API

jason.greene@jboss.com do-not-reply at jboss.com
Fri Jan 30 10:30:21 EST 2009


There is one other radical approach. Which is that you introduce a context/session for cache access that is bound to that object.

Example:

CacheSession session = cache.getCacheSession();
session.setOption(BLAH_ENUM);
session.put(x,y);


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

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



More information about the jboss-dev-forums mailing list