int
priority = DEFAULT
, Cancellable
? cancellable = null) throws Error
int
priority = DEFAULT
, Cancellable
? cancellable = null) throws Error
Synchronously acquire an anonymous claim
You must release the claim with unlock.
priority | the priority with which to prepare the resource |
cancellable | optional cancellable for aborting the opearation |