Class ReadableChannelWithConditionalBound<A,X extends ReadableChannel<A>>

All Implemented Interfaces:
Closeable, AutoCloseable, Channel, HasArrayOps<A>, ReadableChannel<A>, ReadableSource<A>

public class ReadableChannelWithConditionalBound<A,X extends ReadableChannel<A>> extends ReadableChannelWithCounter<A,X>
Readable channel wrapper that before every read checks for an end-of-file (eof) condition. Once true, any subsequent read immediately returns -1 (eof). Used to prevent reading across hadoop split boundaries