public class TimeoutRuntimeManagerLockStrategy 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 |
---|
TimeoutRuntimeManagerLockStrategy() |
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) |
protected void lock(RuntimeManagerLock lock) throws InterruptedException
InterruptedException
protected void unlock(RuntimeManagerLock lock)
public void init(RuntimeManagerLockFactory factory)
init
in interface RuntimeManagerLockStrategy
public RuntimeManagerLock lock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime) throws InterruptedException
lock
in interface RuntimeManagerLockStrategy
InterruptedException
public void unlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
unlock
in interface RuntimeManagerLockStrategy
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.