Package | Description |
---|---|
org.ovirt.engine.core.utils.lock |
Modifier and Type | Method and Description |
---|---|
boolean |
LockManager.acquireLock(EngineLock lock)
The following method will try to acquire provided lock
|
boolean |
InMemoryLockManager.acquireLock(EngineLock lock) |
void |
LockManager.acquireLockWait(EngineLock lock)
The following method will try to acquire lock and will wait until lock acquired
|
void |
InMemoryLockManager.acquireLockWait(EngineLock lock) |
void |
LockManager.releaseLock(EngineLock lock)
The following method will release a lock Also it will notify all threads awaiting inside acquireLockWait that
some lock was released and they can try to acquire a lock
|
void |
InMemoryLockManager.releaseLock(EngineLock lock) |
Copyright © 2012. All Rights Reserved.