This content has been marked as final.
Show 1 reply
-
1. Re: Infinispan, Clustering EmbeddedCache, How to do versioned operations?
mircea.markus Feb 7, 2014 9:29 AM (in response to dinoop.p1)1. When using Embedded Cache in clustered mode , how to do versioned operations ? Or is there any equivalent method?
you could use conditional operations:
cache.put(k,expectedValue, newValue)
cache.remove(k, expectedValue)
cache.putIfAbsent(...)
cache.replace(k, expectedValue, newValue)
2. Can we cluster a Hot road server with Embedded cache? In this case how to do a versioned update?
A hotrod server is just a layer on top of an embedded cache instance, that opens a socket, receives remote requests and forwards them to the embedded node. You can/should have a server instance collocated (same JVM) with an embedded instance.