Top Description Methods
io.vertx.core.shareddata

public Interface Lock

Known Direct Subinterfaces
io.vertx.core.shareddata.impl.LockInternal
Annotations
@VertxGen
Imports
io.vertx.codegen.annotations.VertxGen

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.

Author
Tim Fox

Method Summary

Modifier and TypeMethod and Description
public void
release()

Release the lock.

Method Detail

releaseback to summary
public void release()

Release the lock. Once the lock is released another will be able to obtain the lock.