Interface | Description |
---|---|
DistributedLock |
Interface to define a lock as distributed and safe to use across nodes or JVMs.
|
Class | Description |
---|---|
ReentrantDistributedZookeeperLock |
This is similar to a
ReentrantLock , except that it uses Zookeeper to
share the lock state across multiple nodes, allowing for a distributed lock. |
Exception | Description |
---|---|
DistributedLock.DistributedLockException |
RuntimeException to identify that there was an issue obtaining or otherwise releasing a distributed lock.
|
Copyright © 2022. All rights reserved.