Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

Concurrency Mode

Get and set the concurrency mode for the current process.

Background Information

See the entry for Locks for background information on concurrency. Also see “Object Concurrency” in Using Caché Objects.

The concurrency mode determines what type of locking is performed when you access an object.

Available Tools

Includes the following class methods:

  • GetConcurrencyMode()

  • SetConcurrencyMode()

Availability: All namespaces.

Reminder

The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().