io.vertx.core.shareddata

## Interface Lock

-     public interface Lock

  An asynchronous exclusive lock which can be obtained from any node in the cluster.

  When the lock is obtained, no-one else in the cluster can obtain the lock with the same name until the lock is released.

  Author:
    Tim Fox

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `release()` Release the lock.

- - ### Method Detail

    - #### release

          void release()

      Release the lock. Once the lock is released another will be able to obtain the lock.

Copyright © 2024 Eclipse. All rights reserved.