9.4.6. Configure Locking Mode (Remote Client-Server Mode)

To configure a locking mode in JBoss Data Grid's Remote Client-Server mode, use the locking parameter within the transaction element as follows:
<transaction locking="OPTIMISTIC/PESSIMISTIC" />