emmanuelbernard/hibernate-ogm — comment on commit 4e8183c5fe0fee44b32612b8410fded57ec018e5
File: hibernate-ogm-core/src/main/java/org/hibernate/ogm/dialect/infinispan/InfinispanPessimisticWriteLockingStrategy.java line 58
By Sanne:

why "more efficient" ?
Re Infinispan: correct it provides only one style at the moment. I'm discussing this right now: caches can be configured "optimistic" which is a global option for the cache and going to affect all invocations to it; in that case the lock() API throws UnsupportedOperation as the Cache doesn't allow to change locking style without reconfiguring it. Do you think this would be needed in Infinispan? (I'm thinking it would be important, but we'd better be sure of that as it's not an easy change)