Package org.aksw.commons.io.input
Interface SeekableReadableChannel<A>
- All Superinterfaces:
AutoCloseable,Channel,Cloneable,Closeable,HasArrayOps<A>,HasPosition,ReadableChannel<A>,ReadableSource<A>
- All Known Implementing Classes:
BufferOverReadableChannel.Channel,SeekableReadableChannelBase,SeekableReadableChannelDecoratorBase,SeekableReadableChannelOmitBlockMarker,SeekableReadableChannelOverBuffer,SeekableReadableChannelOverNio,SeekableReadableChannelOverReadableChannel,SeekableReadableChannelSwitchable,SeekableReadableChannelWithLimit,SeekableReadableChannelWithMonitor,SeekableReadableChannelWithOffset
-
Method Summary
Methods inherited from interface org.aksw.commons.io.buffer.array.HasArrayOps
getArrayOpsMethods inherited from interface org.aksw.commons.io.input.HasPosition
position, positionMethods inherited from interface org.aksw.commons.io.input.ReadableSource
read, readRaw
-
Method Details
-
cloneObject
SeekableReadableChannel<A> cloneObject()Optional operation. Open a new channel to the underlying source at the same position as this channel. The returned channel is an independent entity and needs to be closed separatedly. Opening a channel this way may be faster than opening a new channel at the source because information about this channel may be re-used (e.g. held pages and pointers into internal data structures)
-