public final class BytesReadTrackingInputStream extends SdkFilterInputStream implements Abortable
in| Constructor and Description |
|---|
BytesReadTrackingInputStream(AbortableInputStream in,
AtomicLong bytesRead) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Can be used to provide abortion logic prior to throwing the
AbortedException.
|
long |
bytesRead() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
abortIfNeeded, available, close, mark, markSupported, release, resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreleasepublic BytesReadTrackingInputStream(AbortableInputStream in, AtomicLong bytesRead)
public long bytesRead()
public int read()
throws IOException
read in class SdkFilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class SdkFilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class SdkFilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic void abort()
SdkFilterInputStreamabort in interface Abortableabort in class SdkFilterInputStreamCopyright © 2026. All rights reserved.