| Package | Description |
|---|---|
| li.strolch.agent.api | |
| li.strolch.agent.impl | |
| li.strolch.persistence.api |
| Modifier and Type | Method and Description |
|---|---|
void |
LockHandler.lock(StrolchRootElement element)
Locks the given element by using the element's
Locator and creating a lock on it. |
void |
LockHandler.releaseLock(StrolchRootElement element)
Releases the lock on the given element, by unlocking all locks, i.e.
|
void |
LockHandler.unlock(StrolchRootElement element)
Unlocks the given element by finding the element's lock by its
Locator. |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultLockHandler.lock(StrolchRootElement element) |
void |
DefaultLockHandler.releaseLock(StrolchRootElement element) |
void |
DefaultLockHandler.unlock(StrolchRootElement element) |
| Modifier and Type | Method and Description |
|---|---|
<T extends StrolchRootElement> |
StrolchTransaction.lock(T element)
Locks the given element and registers it on the transaction so the lock is released when the transaction is
closed
|
<T extends StrolchRootElement> |
AbstractTransaction.lock(T element) |
<T extends StrolchRootElement> |
StrolchTransaction.releaseLock(T element)
Releases the lock of the given element so that even though the transaction is still open, another
thread/transaction can lock the element
|
<T extends StrolchRootElement> |
AbstractTransaction.releaseLock(T element) |
Copyright © 2011–2016 Strolch. All rights reserved.