Package io.vertx.mutiny.core.shareddata
Class Lock
java.lang.Object
io.vertx.mutiny.core.shareddata.Lock
- All Implemented Interfaces:
MutinyDelegate
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 theoriginal
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
io.vertx.core.shareddata.Lock
int
hashCode()
static Lock
newInstance
(io.vertx.core.shareddata.Lock arg) void
release()
toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Lock
-
Method Details
-
getDelegate
public io.vertx.core.shareddata.Lock getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
release
public void release()
-