Interface FutureDataInputStreamBuilder

All Superinterfaces:
FSBuilder<CompletableFuture<FSDataInputStream>,FutureDataInputStreamBuilder>
All Known Implementing Classes:
FutureDataInputStreamBuilderImpl

@Public @Unstable public interface FutureDataInputStreamBuilder extends FSBuilder<CompletableFuture<FSDataInputStream>,FutureDataInputStreamBuilder>
Builder for input streams and subclasses whose return value is actually a completable future: this allows for better asynchronous operation. To be more generic, FSBuilder.opt(String, int) and FSBuilder.must(String, int) variants provide implementation-agnostic way to customize the builder. Each FS-specific builder implementation can interpret the FS-specific options accordingly, for example: If the option is not related to the file system, the option will be ignored. If the option is must, but not supported/known by the file system, an IllegalArgumentException will be thrown.