tryAcquireLock abstract method
Makes a single attempt to acquire a lock by its key. It returns immediately a positive or negative result.
correlationId(optional) transaction id to trace execution through call chain.
keya unique lock key to acquire.
ttla lock timeout (time to live) in milliseconds. Return Future that receives a lock result Throws error.
Future<bool> tryAcquireLock(String? correlationId, String key, int ttl);