Class SentryFileInputStream

java.lang.Object
java.io.InputStream
java.io.FileInputStream
io.sentry.instrumentation.file.SentryFileInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public final class SentryFileInputStream extends FileInputStream
An implementation of FileInputStream that creates a ISpan for reading operation with filename and byte count set as description

Note, that span is started when this InputStream is instantiated via constructor and finishes when the FileInputStream.close() is called.