org.eclipse.rdf4j.common.concurrent.locks

## Interface Lock

-     public interface Lock

  A lock on a specific monitor that can be used for synchronization purposes.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isActive()` Checks whether the lock is still active.
    `void` | `release()` Release the lock, making it inactive.

- - ### Method Detail

    - #### isActive

          boolean isActive()

      Checks whether the lock is still active.

    - #### release

          void release()

      Release the lock, making it inactive.

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.