Discussion:
[jboss-user] [JBoss Cache] - how to load key-value pair for a cache-node programatically within bussiness code(invalidation cache)
Bond Chan
2013-07-12 06:13:08 UTC
Permalink
Bond Chan [https://community.jboss.org/people/bondchan921] created the discussion

"how to load key-value pair for a cache-node programatically within bussiness code(invalidation cache)"

To view the discussion, visit: https://community.jboss.org/message/827672#827672

--------------------------------------------------------------
Hi All,

I'm upgrading to jboss-cache-3x, is there a way of using jboss cache for:
  -load key-value pair for particular cache-node from database, not using node.put() method, which would invalidate other servers's cache

in jboss-cache-1x, we hajack the jboss interceptor to archive this, I think there having better way, right?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/827672#827672]

Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
Bond Chan
2013-07-15 09:09:07 UTC
Permalink
Bond Chan [https://community.jboss.org/people/bondchan921] created the discussion

"Re: how to load key-value pair for a cache-node programatically within bussiness code(invalidation cache)"

To view the discussion, visit: https://community.jboss.org/message/827928#827928

--------------------------------------------------------------
Seems I need config a loader for loading the data when server starts,

if there any way else?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/827928#827928]

Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
Bond Chan
2013-07-24 07:30:49 UTC
Permalink
Bond Chan [https://community.jboss.org/people/bondchan921] created the discussion

"Re: how to load key-value pair for a cache-node programatically within bussiness code(invalidation cache)"

To view the discussion, visit: https://community.jboss.org/message/829437#829437

--------------------------------------------------------------
localcacheloader  or clusteredcacheloader can do this for me.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/829437#829437]

Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
Loading...