lockReceiver Option

The lockReceiver method option indicates that an exclusive lock of transaction duration is placed on the receiver object before the method is called. A check is also made that the process is in transaction state.

Methods defined on collections with the updating method option are regarded as also having the lockReceiver option, even if it is not declared explicitly.

The lockReceiver method option cannot be combined with the typeMethod method option.