## Uses of Class
io.vertx.reactivex.core.file.AsyncFileLock

- Packages that use AsyncFileLock
  Package | Description
  --- | ---
  io.vertx.reactivex.core.file |

- - ### Uses of AsyncFileLock in io.vertx.reactivex.core.file

    Fields in io.vertx.reactivex.core.file with type parameters of type AsyncFileLock
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<AsyncFileLock>` | AsyncFileLock.`__TYPE_ARG`

    Methods in io.vertx.reactivex.core.file that return AsyncFileLock
    Modifier and Type | Method and Description
    --- | ---
    `static AsyncFileLock` | AsyncFileLock.`newInstance(AsyncFileLock arg)`
    `AsyncFileLock` | AsyncFile.`tryLock()` Try to acquire a non-shared lock on the entire file.
    `AsyncFileLock` | AsyncFile.`tryLock(long position, long size, boolean shared)` Try to acquire a lock on a portion of this file.

    Methods in io.vertx.reactivex.core.file that return types with arguments of type AsyncFileLock
    Modifier and Type | Method and Description
    --- | ---
    `Single<AsyncFileLock>` | AsyncFile.`rxLock()` Like `AsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)` but the `handler` will be called when the operation is complete or if an error occurs.
    `Single<AsyncFileLock>` | AsyncFile.`rxLock(long position, long size, boolean shared)` Like `AsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)` but the `handler` will be called when the operation is complete or if an error occurs.

    Method parameters in io.vertx.reactivex.core.file with type arguments of type AsyncFileLock
    Modifier and Type | Method and Description
    --- | ---
    `void` | AsyncFile.`lock(Handler<AsyncResult<AsyncFileLock>> handler)` Like `AsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)` but the `handler` will be called when the operation is complete or if an error occurs.
    `void` | AsyncFile.`lock(long position, long size, boolean shared, Handler<AsyncResult<AsyncFileLock>> handler)` Like `AsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)` but the `handler` will be called when the operation is complete or if an error occurs.

Copyright © 2024 Eclipse. All rights reserved.