1 of 1 people found this helpful
the documentation is related to Infinispan Server's use of the caches provided by the Infinispan subsystem. The Infinispan subsystem allows you to configure a cache as transactional, but since none of the remote protocols (HotRod, REST, memcached, Websockets) support transactions yet, it is pretty pointless.
However, in the context of EAP, where an application consumes the cache in embedded fashion, this is fine.
Okay, this is great news. But then i am entirely missing documentation about how i configure things like eager-locking or pessimistic locking inside the infinispan subsystem inside JBoss. As said in the question, i basically want to do a cluster-wide lock on a specific key (e.g. to be able to implement a cluster-wide counter). Where do i find this information? All i found right now is this xsd (which is outdated, e.g. i could not use the element eager-locking which can be found there): https://raw.github.com/jbossas/jboss-as/7.0.0.Final/build/src/main/resources/docs/schema/jboss-infinispan.xsd
That was indeed the missing information i was looking for. With this xsd it was no problem to configure pessimistic locking and to obtain a cluster-wide lock on a specific key afterwards. Many thanks, Tristan!