Class FreeRuntimeManagerLockStrategy
- java.lang.Object
-
- org.jbpm.runtime.manager.impl.lock.FreeRuntimeManagerLockStrategy
-
- All Implemented Interfaces:
RuntimeManagerLockStrategy
public class FreeRuntimeManagerLockStrategy extends Object implements RuntimeManagerLockStrategy
-
-
Constructor Summary
Constructors Constructor Description FreeRuntimeManagerLockStrategy()
-
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)
-
-
-
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
-
-