| Package | Description |
|---|---|
| org.jboss.osgi.framework | |
| org.jboss.osgi.framework.spi |
| Modifier and Type | Method and Description |
|---|---|
LockException |
FrameworkMessages.cannotObtainLockTimely(Throwable cause,
LockManager.LockContext context) |
LockException |
FrameworkMessages_$bundle.cannotObtainLockTimely(Throwable cause,
LockManager.LockContext context) |
| Modifier and Type | Method and Description |
|---|---|
LockManager.LockContext |
LockManager.getCurrentLockContext()
Get the lock context associated with the current thread.
|
LockManager.LockContext |
LockManager.lockItems(LockManager.Method method,
LockManager.LockableItem... items)
Lock the number of given items
|
LockManager.LockContext |
LockManager.lockItems(LockManager.Method method,
long timeout,
TimeUnit unit,
LockManager.LockableItem... items)
Lock the number of given items with timeout
|
| Modifier and Type | Method and Description |
|---|---|
void |
LockManager.unlockItems(LockManager.LockContext context)
Unlock the context
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.