## Uses of Interface
io.vertx.core.shareddata.Lock

- Packages that use Lock
  Package | Description
  --- | ---
  io.vertx.core.shareddata |
  io.vertx.core.spi.cluster |
  io.vertx.ext.cluster.infinispan |
  io.vertx.reactivex.core.shareddata |
  io.vertx.rxjava3.core.shareddata |
  io.vertx.spi.cluster.hazelcast |
  io.vertx.spi.cluster.hazelcast.spi |
  io.vertx.spi.cluster.ignite |
  io.vertx.spi.cluster.zookeeper |

- - ### Uses of Lock in io.vertx.core.shareddata

    Methods in io.vertx.core.shareddata that return types with arguments of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<Lock>` | SharedData.`getLocalLock​(String name)` | Get an asynchronous local lock with the specified name.
    `Future<Lock>` | SharedData.`getLocalLockWithTimeout​(String name, long timeout)` | Like `SharedData.getLocalLock(String)` but specifying a timeout.
    `Future<Lock>` | SharedData.`getLock​(String name)` | Get an asynchronous lock with the specified name.
    `Future<Lock>` | SharedData.`getLockWithTimeout​(String name, long timeout)` | Like `SharedData.getLock(String)` but specifying a timeout.

  - ### Uses of Lock in io.vertx.core.spi.cluster

    Method parameters in io.vertx.core.spi.cluster with type arguments of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ClusterManager.`getLockWithTimeout​(String name, long timeout, Completable<Lock> promise)` | Attempts to acquire a `Lock` for the given `name` within `timeout` milliseconds.

  - ### Uses of Lock in io.vertx.ext.cluster.infinispan

    Method parameters in io.vertx.ext.cluster.infinispan with type arguments of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | InfinispanClusterManager.`getLockWithTimeout​(String name, long timeout, Completable<Lock> prom)` |

  - ### Uses of Lock in io.vertx.reactivex.core.shareddata

    Methods in io.vertx.reactivex.core.shareddata that return Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `Lock` | Lock.`getDelegate()` |

    Methods in io.vertx.reactivex.core.shareddata with parameters of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Lock` | Lock.`newInstance​(Lock arg)` |

    Constructors in io.vertx.reactivex.core.shareddata with parameters of type Lock
    Constructor | Description
    --- | ---
    `Lock​(Lock delegate)` |

  - ### Uses of Lock in io.vertx.rxjava3.core.shareddata

    Methods in io.vertx.rxjava3.core.shareddata that return Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `Lock` | Lock.`getDelegate()` |

    Methods in io.vertx.rxjava3.core.shareddata with parameters of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Lock` | Lock.`newInstance​(Lock arg)` |

    Constructors in io.vertx.rxjava3.core.shareddata with parameters of type Lock
    Constructor | Description
    --- | ---
    `Lock​(Lock delegate)` |

  - ### Uses of Lock in io.vertx.spi.cluster.hazelcast

    Method parameters in io.vertx.spi.cluster.hazelcast with type arguments of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | HazelcastClusterManager.`getLockWithTimeout​(String name, long timeout, Completable<Lock> promise)` |

  - ### Uses of Lock in io.vertx.spi.cluster.hazelcast.spi

    Methods in io.vertx.spi.cluster.hazelcast.spi that return Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `Lock` | HazelcastObjectProvider.`getLockWithTimeout​(String name, long timeout)` | Return Lock with the given name within specified timeout (in ms)

  - ### Uses of Lock in io.vertx.spi.cluster.ignite

    Method parameters in io.vertx.spi.cluster.ignite with type arguments of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | IgniteClusterManager.`getLockWithTimeout​(String name, long timeout, Completable<Lock> promise)` |

  - ### Uses of Lock in io.vertx.spi.cluster.zookeeper

    Method parameters in io.vertx.spi.cluster.zookeeper with type arguments of type Lock
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ZookeeperClusterManager.`getLockWithTimeout​(String name, long timeout, Completable<Lock> promise)` |