Class LegacyRuntimeManagerLockStrategy
- java.lang.Object
-
- org.jbpm.runtime.manager.impl.lock.LegacyRuntimeManagerLockStrategy
-
- All Implemented Interfaces:
RuntimeManagerLockStrategy
public class LegacyRuntimeManagerLockStrategy extends Object implements RuntimeManagerLockStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected ConcurrentMap<Long,RuntimeManagerLock>
engineLocks
-
Constructor Summary
Constructors Constructor Description LegacyRuntimeManagerLockStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(RuntimeManagerLockFactory factory)
RuntimeManagerLock
lock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
void
unlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
-
-
-
Field Detail
-
engineLocks
protected ConcurrentMap<Long,RuntimeManagerLock> engineLocks
-
-
Method Detail
-
init
public void init(RuntimeManagerLockFactory factory)
- Specified by:
init
in interfaceRuntimeManagerLockStrategy
-
lock
public RuntimeManagerLock lock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
- Specified by:
lock
in interfaceRuntimeManagerLockStrategy
-
unlock
public void unlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
- Specified by:
unlock
in interfaceRuntimeManagerLockStrategy
-
-