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 Description static TypeArg<AsyncFileLock>
AsyncFileLock. __TYPE_ARG
Methods in io.vertx.reactivex.core.file that return AsyncFileLock Modifier and Type Method 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 Description io.reactivex.Single<AsyncFileLock>
AsyncFile. rxLock()
LikeAsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)
but thehandler
will be called when the operation is complete or if an error occurs.io.reactivex.Single<AsyncFileLock>
AsyncFile. rxLock(long position, long size, boolean shared)
LikeAsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)
but thehandler
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 Description void
AsyncFile. lock(long position, long size, boolean shared, Handler<AsyncResult<AsyncFileLock>> handler)
LikeAsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)
but thehandler
will be called when the operation is complete or if an error occurs.void
AsyncFile. lock(Handler<AsyncResult<AsyncFileLock>> handler)
LikeAsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.file.AsyncFileLock>>)
but thehandler
will be called when the operation is complete or if an error occurs.
-