Package io.deephaven.util.channel
Class SeekableChannelsProviderLoader
java.lang.Object
io.deephaven.util.channel.SeekableChannelsProviderLoader
A service loader class for loading
SeekableChannelsProviderPlugin implementations at runtime and provide
SeekableChannelsProvider implementations for different URI schemes, e.g., S3.-
Method Summary
Modifier and TypeMethodDescriptionfromServiceLoader(@NotNull URI uri, @Nullable Object specialInstructions) Create a newSeekableChannelsProvidercompatible for reading from and writing to the given URI, using the plugins loaded by theServiceLoader.
-
Method Details
-
getInstance
-
fromServiceLoader
public SeekableChannelsProvider fromServiceLoader(@NotNull @NotNull URI uri, @Nullable @Nullable Object specialInstructions) Create a newSeekableChannelsProvidercompatible for reading from and writing to the given URI, using the plugins loaded by theServiceLoader. For example, for a "S3" URI, we will create aSeekableChannelsProviderwhich can read files from S3.- Parameters:
uri- The URIspecialInstructions- An optional object to pass special instructions to the provider.- Returns:
- A
SeekableChannelsProviderfor the given URI.
-