Class SerializableRuntimeManagerLockStrategy
- java.lang.Object
-
- org.jbpm.runtime.manager.impl.lock.SerializableRuntimeManagerLockStrategy
-
- All Implemented Interfaces:
RuntimeManagerLockStrategy
public class SerializableRuntimeManagerLockStrategy extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Long,org.jbpm.runtime.manager.impl.lock.RuntimeManagerLockThreadsInfo>engineLocksprotected static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description SerializableRuntimeManagerLockStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(RuntimeManagerLockFactory factory)RuntimeManagerLocklock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)protected voidlock(RuntimeManagerLock runtimeManagerLock)voidunlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)protected voidunlock(RuntimeManagerLock runtimeManagerLock)
-
-
-
Method Detail
-
lock
protected void lock(RuntimeManagerLock runtimeManagerLock) throws InterruptedException
- Throws:
InterruptedException
-
unlock
protected void unlock(RuntimeManagerLock runtimeManagerLock)
-
init
public void init(RuntimeManagerLockFactory factory)
- Specified by:
initin interfaceRuntimeManagerLockStrategy
-
lock
public RuntimeManagerLock lock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime) throws InterruptedException
- Specified by:
lockin interfaceRuntimeManagerLockStrategy- Throws:
InterruptedException
-
unlock
public void unlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
- Specified by:
unlockin interfaceRuntimeManagerLockStrategy
-
-