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

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Jan 30 10:55:07 EST 2009


"jason.greene at jboss.com" wrote : 
  | CacheSession session = cache.getCacheSession();
  | session.setOption(BLAH_ENUM);
  | session.put(x,y);
  | 

That's not a lot different from your getAdvanced(), except that the new interface allows you to set options in a separate method rather than an overloaded method.  And then sticks it in a thread-local.  :)



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

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



More information about the jboss-dev-forums mailing list