public class LockManager extends Object
Lock currently used to prevent
deadlocks| Modifier and Type | Method and Description |
|---|---|
Lock |
createLock()
Gives a new
Lock instance |
<T> RunnableFuture<T> |
createRunnableFuture(Callable<T> callable)
Creates a new
RunnableFuture instance |
<T> RunnableFuture<T> |
createRunnableFuture(Runnable runnable,
T value)
Creates a new
RunnableFuture instance |
static LockManager |
getInstance()
The unique instance of the
LockManager |
public static LockManager getInstance()
LockManagerpublic <T> RunnableFuture<T> createRunnableFuture(Runnable runnable, T value)
RunnableFuture instancepublic <T> RunnableFuture<T> createRunnableFuture(Callable<T> callable)
RunnableFuture instanceCopyright © 2021 eXo Platform SAS. All Rights Reserved.