public class Lock extends Object implements io.vertx.lang.rx.RxDelegate
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 io.vertx.lang.rx.TypeArg<Lock> |
__TYPE_ARG |
Constructor and Description |
---|
Lock(Lock delegate) |
Lock(Object delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Lock |
getDelegate() |
int |
hashCode() |
static Lock |
newInstance(Lock arg) |
void |
release()
Release the lock.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Lock> __TYPE_ARG
public Lock getDelegate()
getDelegate
in interface io.vertx.lang.rx.RxDelegate
public void release()
Copyright © 2025 Eclipse. All rights reserved.