10.3.6. Configure Locking Mode (Remote Client-Server Mode)
To configure a locking mode in Red Hat JBoss Data Grid's Remote Client-Server mode, use the
locking
parameter within the transaction
element as follows:
<transaction locking="OPTIMISTIC/PESSIMISTIC" />