Chapter 17. Set Up Isolation Levels
17.1. About Isolation Levels
Isolation levels determine when readers can view a concurrent write.
READ_COMMITTED
and REPEATABLE_READ
are the two isolation modes offered in Red Hat JBoss Data Grid.
READ_COMMITTED
. This isolation level is applicable to a wide variety of requirements. This is the default value in Remote Client-Server and Library modes.REPEATABLE_READ
.Important
The only valid value for locks in Remote Client-Server mode is the defaultREAD_COMMITTED
value. The value explicitly specified with theisolation
value is ignored.If thelocking
element is not present in the configuration, the default isolation value isREAD_COMMITTED
.
For isolation mode configuration examples in JBoss Data Grid, see the lock striping configuration samples:
- See Section 16.2, “Configure Lock Striping (Remote Client-Server Mode)” for a Remote Client-Server mode configuration sample.
- See Section 16.3, “Configure Lock Striping (Library Mode)” for a Library mode configuration sample.