@FunctionalInterface public interface LockFactory
|Modifier and Type||Method and Description|
Obtain a lock for a resource identified by given
Lock obtainLock(String identifier)
identifier. Depending on the strategy, this method may return immediately or block until a lock is held.
identifier- the identifier of the resource to obtain a lock for.
Copyright © 2010–2023. All rights reserved.