|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.LockManager
public class LockManager
This class is used to be aware of all the Lock currently used to prevent
deadlocks
| Method Summary | ||
|---|---|---|
Lock |
createLock()
Gives a new Lock instance |
|
|
createRunnableFuture(Callable<T> callable)
Creates a new RunnableFuture instance |
|
|
createRunnableFuture(Runnable runnable,
T value)
Creates a new RunnableFuture instance |
|
static LockManager |
getInstance()
The unique instance of the LockManager |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LockManager getInstance()
LockManager
public Lock createLock()
Lock instance
public <T> RunnableFuture<T> createRunnableFuture(Runnable runnable,
T value)
RunnableFuture instance
public <T> RunnableFuture<T> createRunnableFuture(Callable<T> callable)
RunnableFuture instance
|
eXo Kernel :: Container Multi-Threaded 2.5.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||