AS.unlockEvent()

Signature

void unlockEvent(String destinationUri, SimpleEvent event, Object... options)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Unlocks the event associated with a key event value. If unlock operation fails (e.g. due to specified timeout) then an exception is thrown with 'LOCKED (entry_lock_timeout)' message, which must be handled by the caller.

Parameters

NameTypeDescription
destinationUriStringAS Destination URI
eventSimpleEventThe event to be unlocked
optionsObjectOptional lock wait time in milliseconds

Returns

TypeDescription
void