public class DefaultDistributedLocker extends Object implements DistributedLocker
| Constructor and Description |
|---|
DefaultDistributedLocker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acquireLock(DistributedLockDO distributedLockDO)
Acquire the distributed lock
|
boolean |
releaseLock(DistributedLockDO distributedLockDO)
Release the distributed lock
|
public boolean acquireLock(DistributedLockDO distributedLockDO)
DistributedLockeracquireLock in interface DistributedLockerdistributedLockDO - the distributed lock infopublic boolean releaseLock(DistributedLockDO distributedLockDO)
DistributedLockerreleaseLock in interface DistributedLockerdistributedLockDO - the distributed lock infoCopyright © 2023 Seata. All rights reserved.