Class Lock
- java.lang.Object
-
- io.vertx.reactivex.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 theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Lock>__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)io.vertx.core.shareddata.LockgetDelegate()inthashCode()static LocknewInstance(io.vertx.core.shareddata.Lock arg)voidrelease()Release the lock.StringtoString()
-
-
-
Constructor Detail
-
Lock
public Lock(io.vertx.core.shareddata.Lock delegate)
-
Lock
public Lock(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.core.shareddata.Lock 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(io.vertx.core.shareddata.Lock arg)
-
-