public class MetricFilterInputStream
extends com.amazonaws.internal.SdkFilterInputStream
SdkFilterInputStream.read()
API.
Note this class is only relevant when metric is enabled. Otherwise it should not even be involved in the call stack to minimize runtime overhead.
in
Constructor and Description |
---|
MetricFilterInputStream(ThroughputMetricType type,
InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isMetricActivated() |
int |
read(byte[] b,
int off,
int len) |
abort, abortIfNeeded, available, mark, markSupported, read, release, reset, skip
read
public MetricFilterInputStream(ThroughputMetricType type, InputStream in)
public int read(byte[] b, int off, int len) throws IOException
read
in class com.amazonaws.internal.SdkFilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class com.amazonaws.internal.SdkFilterInputStream
IOException
public final boolean isMetricActivated()
isMetricActivated
in interface com.amazonaws.internal.MetricAware
isMetricActivated
in class com.amazonaws.internal.SdkFilterInputStream
Copyright © 2017. All rights reserved.