[.net programming language only]

Interacting with data in a transaction for .NET applications

The API for WebSphere® eXtreme Scale Client requires each thread to have a separate IGridMapPessimisticTx or IGridMapPessimisticAutoTx object. With the IGridMapPessimisticTx object, the Transaction property is used to explicitly begin, commit or roll back the transaction. With the IGridMapPessimisticAutoTx object, the transaction begin, commit and rollback operations occur automatically. Use sessions to interact with data, including Add, Put, and Replace operations.

About this task

The IGridMapPessimisticTx and IGridMapPessimisticAutoTx interfaces provide operations such as Add, Get, Put, Replace, and Remove to manipulate the data. The IGridMapPessimisticTx interface provides additional operations such as Lock and GetAndLock to control concurrent access to the data.

Procedure