Class LimitInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.hadoop.util.LimitInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

@Unstable public final class LimitInputStream extends FilterInputStream
Copied from guava source code v15 (LimitedInputStream) Guava deprecated LimitInputStream in v14 and removed it in v15. Copying this class here allows to be compatible with guava 11 to 15+. Originally: org.apache.hadoop.hbase.io.LimitInputStream