Package org.jbpm.runtime.manager.spi
Interface RuntimeManagerLockStrategy
-
- All Known Implementing Classes:
FreeRuntimeManagerLockStrategy,InterruptibleRuntimeManagerLockStrategy,LegacyRuntimeManagerLockStrategy,SerializableRuntimeManagerLockStrategy,TimeoutRuntimeManagerLockStrategy
public interface RuntimeManagerLockStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(RuntimeManagerLockFactory factory)RuntimeManagerLocklock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)voidunlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
-
-
-
Method Detail
-
init
void init(RuntimeManagerLockFactory factory)
-
lock
RuntimeManagerLock lock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime) throws InterruptedException
- Throws:
InterruptedException
-
unlock
void unlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
-
-