10.3.7. Configure Locking Mode (Library Mode)
In Red Hat JBoss Data Grid's Library mode, the locking mode is set within the
transaction element as follows:
Set the
lockingMode value to OPTIMISTIC or PESSIMISTIC to configure the locking mode used for the transactional cache.