Uses of Class
io.vertx.mutiny.core.file.AsyncFileLock
Packages that use AsyncFileLock
-
Uses of AsyncFileLock in io.vertx.mutiny.core.file
Fields in io.vertx.mutiny.core.file with type parameters of type AsyncFileLockMethods in io.vertx.mutiny.core.file that return AsyncFileLockModifier and TypeMethodDescriptionAsyncFileLock.isValidAndForget()A lock remains valid until it is released or the file correspondingAsyncFileis closed.AsyncFile.lockAndAwait()Acquire a non-shared lock on the entire file.AsyncFile.lockAndAwait(long position, long size, boolean shared) Acquire a lock on a portion of this file.static AsyncFileLockAsyncFileLock.newInstance(io.vertx.core.file.AsyncFileLock delegate) Creates a new instance of theAsyncFileLock.AsyncFileLock.releaseAndForget()Releases this lock;AsyncFile.tryLock()Try to acquire a non-shared lock on the entire file.AsyncFile.tryLock(long position, long size, boolean shared) Try to acquire a lock on a portion of this file.Methods in io.vertx.mutiny.core.file that return types with arguments of type AsyncFileLockModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<AsyncFileLock>AsyncFile.lock()Acquire a non-shared lock on the entire file.io.smallrye.mutiny.Uni<AsyncFileLock>AsyncFile.lock(long position, long size, boolean shared) Acquire a lock on a portion of this file.