Class FSEditLogLoader.PositionTrackingInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.PositionTrackingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
FSEditLogLoader

public static class FSEditLogLoader.PositionTrackingInputStream extends FilterInputStream
Stream wrapper that keeps track of the current stream position. This stream also allows us to set a limit on how many bytes we can read without getting an exception.