vertx / io.vertx.reactivex.core.shareddata / Lock

# Lock

`open class 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.

NOTE: This class has been automatically generated from the io.vertx.core.shareddata.Lock non RX-ified interface using Vert.x codegen.

### Constructors

<init> | `Lock(delegate: Lock)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<Lock>`

### Functions

equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): Lock`
hashCode | `open fun hashCode(): Int`
newInstance | `open static fun newInstance(arg: Lock): Lock`
release | `open fun release(): Unit` Release the lock. Once the lock is released another will be able to obtain the lock.
toString | `open fun toString(): String`