To minimize deadlocks when you use locked cache mode, you can configure the isolation level of an item descriptor. You can use one of three isolation levels:
Isolation Level | Description |
---|---|
| This is the default value. ATG gets a read lock on the item when you first call |
| ATG acquires a read lock the first time you call |
| Prevents different transactions from reading an item at the same time either from the same server, or from different servers. |
Set the isolationLevel
attribute in an <attribute>
tag that is a sub-tag of the <item-descriptor>
tag. For example:
<item-descriptor name="myItem" cache-mode="locked">
<attribute name="isolationLevel" value="readCommitted"/>
...
</item-descriptor>