public class Lock extends Object
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 RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<Lock> |
__TYPE_ARG |
Constructor and Description |
---|
Lock(io.vertx.core.shareddata.Lock delegate) |
Lock(Object delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
io.vertx.core.shareddata.Lock |
getDelegate() |
int |
hashCode() |
static Lock |
newInstance(io.vertx.core.shareddata.Lock arg) |
void |
release()
Release the lock.
|
String |
toString() |
public Lock(io.vertx.core.shareddata.Lock delegate)
public Lock(Object delegate)
public io.vertx.core.shareddata.Lock getDelegate()
public void release()
public static Lock newInstance(io.vertx.core.shareddata.Lock arg)
Copyright © 2022 Eclipse. All rights reserved.