Locks the tuple associated with a key tuple value

Namespace: Com.Tibco.As.Space
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.1.0.0 (2.1)

Syntax

C#
Tuple Lock(
	Tuple tuple,
	LockOptions lockOpts
)
Visual Basic
Function Lock ( _
	tuple As Tuple, _
	lockOpts As LockOptions _
) As Tuple
Visual C++
Tuple^ Lock(
	Tuple^ tuple, 
	LockOptions^ lockOpts
)

Parameters

tuple
Type: Com.Tibco.As.Space..::..Tuple
Key tuple to be used to lock
lockOpts
Type: Com.Tibco.As.Space..::..LockOptions
custom lock wait/forget option

Return Value

Tuple if there is a value associated with it, null otherwise

See Also