public class InterruptibleRuntimeManagerLockStrategy extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<Long,org.jbpm.runtime.manager.impl.lock.RuntimeManagerLockThreadsInfo> |
engineLocks |
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
InterruptibleRuntimeManagerLockStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(RuntimeManagerLockFactory factory) |
RuntimeManagerLock |
lock(Long id,
org.kie.api.runtime.manager.RuntimeEngine runtime) |
protected void |
lock(RuntimeManagerLock lock) |
void |
unlock(Long id,
org.kie.api.runtime.manager.RuntimeEngine runtime) |
protected void |
unlock(RuntimeManagerLock lock) |
public InterruptibleRuntimeManagerLockStrategy()
protected void lock(RuntimeManagerLock lock) throws InterruptedException
InterruptedExceptionprotected void unlock(RuntimeManagerLock lock)
public void init(RuntimeManagerLockFactory factory)
init in interface RuntimeManagerLockStrategypublic RuntimeManagerLock lock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime) throws InterruptedException
lock in interface RuntimeManagerLockStrategyInterruptedExceptionpublic void unlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
unlock in interface RuntimeManagerLockStrategyCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.