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 and 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)

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.