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
    --- | --- | ---
    `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

          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)