With Infinispan now having reliable pessimistic locking on transactions, I don't think this is needed anymore.