The public StorageConfiguration.Builder.setTemporaryFileProvider class requires an instance of the TemporaryFileProvider class, which is situated in the io.opentelemetry.contrib.disk.buffering.**internal**.files package:
|
public abstract Builder setTemporaryFileProvider(TemporaryFileProvider value); |
As a result, the users of the library need to import the internal class if they wish to provide a custom implementation.
My suggestion is to move the TemporaryFileProvider class to the io.opentelemetry.contrib.disk.buffering package to explicitly mark it as public API.
The public
StorageConfiguration.Builder.setTemporaryFileProviderclass requires an instance of theTemporaryFileProviderclass, which is situated in theio.opentelemetry.contrib.disk.buffering.**internal**.filespackage:opentelemetry-java-contrib/disk-buffering/src/main/java/io/opentelemetry/contrib/disk/buffering/StorageConfiguration.java
Line 84 in be32409
As a result, the users of the library need to import the internal class if they wish to provide a custom implementation.
My suggestion is to move the
TemporaryFileProviderclass to theio.opentelemetry.contrib.disk.bufferingpackage to explicitly mark it as public API.