Transactions


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.


Transaction interface
Transaction concept and API

Locking and Blocking
Using optimistic and pessimistic locking to preserve the integrity of changes in a multi-user scenarios.

Read Modifiers
XAP ReadModifiers class provides static methods and constants to decode read-type modifiers.

Optimistic Locking
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.

Pessimistic Locking
In the pessimistic locking approach, your program must explicitly obtain a lock using a transaction on one or more objects before making any changes.

ManagementCenter
You can view and inspect ongoing Space transactions with the Management Center.