Uses of Class
io.vertx.mutiny.core.file.AsyncFile
Packages that use AsyncFile
-
Uses of AsyncFile in io.vertx.mutiny.core.file
Fields in io.vertx.mutiny.core.file with type parameters of type AsyncFileMethods in io.vertx.mutiny.core.file that return AsyncFileModifier and TypeMethodDescriptionAsyncFile.closeAndForget()Close the file.AsyncFile.drainHandler(Runnable handler) AsyncFile.endAndForget()Ends the stream.AsyncFile.endAndForget(io.vertx.core.buffer.Buffer arg0) Same asend()but writes some data to the stream before ending.AsyncFile.endHandler(Runnable endHandler) AsyncFile.exceptionHandler(Consumer<Throwable> handler) Set an exception handler on the read stream and on the write stream.AsyncFile.fetch(long amount) AsyncFile.flushAndForget()Flush any writes made to this file to underlying persistent storage.AsyncFile.lockAndForget()Acquire a non-shared lock on the entire file.AsyncFile.lockAndForget(long position, long size, boolean shared) Acquire a lock on a portion of this file.static AsyncFileAsyncFile.newInstance(io.vertx.core.file.AsyncFile delegate) Creates a new instance of theAsyncFile.FileSystem.openAndAwait(String path, io.vertx.core.file.OpenOptions options) Open the file represented bypath, asynchronously.FileSystem.openBlocking(String path, io.vertx.core.file.OpenOptions options) Blocking version ofFileSystem.open(String, io.vertx.core.file.OpenOptions)AsyncFile.pause()AsyncFile.pipeToAndForget(WriteStream<io.vertx.core.buffer.Buffer> arg0) Pipe thisReadStreamto theWriteStream.AsyncFile.readAndForget(io.vertx.core.buffer.Buffer buffer, int offset, long position, int length) Readslengthbytes of data from the file at positionpositionin the file, asynchronously.AsyncFile.resume()AsyncFile.setReadBufferSize(int readBufferSize) Sets the buffer size that will be used to read the data from the file.AsyncFile.setReadLength(long readLength) Sets the number of bytes that will be read when using the file as aReadStream.AsyncFile.setReadPos(long readPos) Sets the position from which data will be read from when using the file as aReadStream.AsyncFile.setWritePos(long writePos) Sets the position from which data will be written when using the file as aWriteStream.AsyncFile.setWriteQueueMaxSize(int maxSize) AsyncFile.sizeAndForget()Unlike the bare Vert.x variant, this method ignores theLongresult or any failure.<T> AsyncFileAsyncFile.withLockAndForget(long position, long size, boolean shared, Supplier<io.smallrye.mutiny.Uni<T>> block) Acquire a lock on a portion of this file.<T> AsyncFileAsyncFile.withLockAndForget(Supplier<io.smallrye.mutiny.Uni<T>> block) Acquire a non-shared lock on the entire file.AsyncFile.writeAndForget(io.vertx.core.buffer.Buffer arg0) Write some data to the stream.AsyncFile.writeAndForget(io.vertx.core.buffer.Buffer buffer, long position) Write aBufferto the file at positionpositionin the file, asynchronously.Methods in io.vertx.mutiny.core.file that return types with arguments of type AsyncFile -
Uses of AsyncFile in io.vertx.mutiny.core.http
Methods in io.vertx.mutiny.core.http that return AsyncFile