CFLOCK

Places a lock around the block to ensure only one thread of execution can enter

Usage

<cflock> ... </cflock>

Attributes

Attribute default required summary
ATTRIBUTECOLLECTION A structure containing the tag attributes
NAME The name of the lock. Should not be used with SCOPE. All locks with the same name are locked
SCOPE The scope of the lock. Should not be used with NAME. Values are: server, application, or session
TYPE exculsive The type of lock to grant; values exclusive or readonly
TIMEOUT The time in seconds that the process will wait for the lock to become available
THROWONTIMEOUT true If the timeout happens while waiting on a lock to become availabe, then throw an exception