Class Lock
java.lang.Object
io.vertx.rxjava3.core.shareddata.Lock
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Lock
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
release
public void release()Release the lock. Once the lock is released another will be able to obtain the lock.
-