This page describes an older version of the product. The latest stable version is 12.3.
The Spring Framework provides a transaction manager abstraction using the PlatformTransactionManager interface with several different built-in implementations, such as JDBC Data Source and JTA. GigaSpaces provides several implementations for Spring’s PlatformTransactionManager, allowing you to use the GigaSpaces local and Jini Distributed Transaction Managers.
Locking and Blocking
Using optimistic and pessimistic locking to preserve the integrity of changes in a multi-user scenarios.
XAP ReadModifiers class provides static methods and constants to decode read-type modifiers.
The optimistic locking protocol provides better performance and scalability when having concurrent access to the same data. Optimistic locking offers higher concurrency and better performance than pessimistic locking. It also avoids deadlocks.
In the pessimistic locking approach, your program must explicitly obtain a lock using a transaction on one or more objects before making any changes.
You can view and inspect ongoing Space transactions with the Management Center.