Package org.broadleafcommerce.core.util.lock
package org.broadleafcommerce.core.util.lock
-
ClassDescriptionInterface to define a lock as distributed and safe to use across nodes or JVMs.RuntimeException to identify that there was an issue obtaining or otherwise releasing a distributed lock.This is similar to a
ReentrantLock, except that it uses Zookeeper to share the lock state across multiple nodes, allowing for a distributed lock.