io.vertx.rxjava.core.shareddata

## Class Lock

- java.lang.Object
- - io.vertx.rxjava.core.shareddata.Lock

-     public class Lock
      extends Object

  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.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Lock(Lock delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getDelegate()`
    `static Lock` | `newInstance(Lock arg)`
    `void` | `release()` Release the lock.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Lock

          public Lock(Lock delegate)

  - ### Method Detail

    - #### getDelegate

          public Object getDelegate()

    - #### release

          public void release()

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

    - #### newInstance

          public static Lock newInstance(Lock arg)

Copyright © 2015. All Rights Reserved.