Uses of Interface
org.aksw.commons.io.input.ReadableChannel
Packages that use ReadableChannel
Package
Description
-
Uses of ReadableChannel in org.aksw.commons.io.buffer.array
Classes in org.aksw.commons.io.buffer.array that implement ReadableChannelFields in org.aksw.commons.io.buffer.array declared as ReadableChannelModifier and TypeFieldDescriptionprotected ReadableChannel<A>BufferOverReadableChannel.dataSupplierMethods in org.aksw.commons.io.buffer.array that return ReadableChannelModifier and TypeMethodDescriptionBufferOverReadableChannel.getDataSupplier()Return the data supplier.Methods in org.aksw.commons.io.buffer.array with parameters of type ReadableChannelModifier and TypeMethodDescriptionstatic BufferOverReadableChannel<byte[]>BufferOverReadableChannel.createForBytes(ReadableChannel<byte[]> channel, int minReadSize) static <A> voidBufferOverReadableChannel.debuffer(ReadableChannel<A> channel) Remove the buffer of channel created with newBufferedChannelvoidBufferOverReadableChannel.setDataSupplier(ReadableChannel<A> dataSupplier) Set a new data supplier whose data can be appended to this buffer on demandvoidBufferOverReadableChannel.write(long offsetInBuffer, ReadableChannel<A> source, int amount) Read a certain amount of data from a channel into this buffer starting at a certain positionConstructors in org.aksw.commons.io.buffer.array with parameters of type ReadableChannelModifierConstructorDescriptionBufferOverReadableChannel(ArrayOps<A> arrayOps, int initialBucketSize, ReadableChannel<A> dataSupplier, int minReadSize) -
Uses of ReadableChannel in org.aksw.commons.io.cache
Classes in org.aksw.commons.io.cache that implement ReadableChannelModifier and TypeClassDescriptionclassThe class drives the iteration of items from the cache and triggers fetching of data as necessary.Fields in org.aksw.commons.io.cache declared as ReadableChannelModifier and TypeFieldDescriptionprotected ReadableChannel<A>RangeRequestWorkerImpl.dataStreamThe data supplying iterator.Methods in org.aksw.commons.io.cache that return ReadableChannelModifier and TypeMethodDescriptionAdvancedRangeCacheImpl.newReadableChannel(com.google.common.collect.Range<Long> range) Create a RequestContext for the given requestRange: (1) Claim cached pages for the start-range of the request range (2) Check the running executors for whether they are suitable for (partially) servinge the request range If so, assign tasks to those executors (3) If no running executor is suitable then add the request to the 'pending queue' If the executor service -
Uses of ReadableChannel in org.aksw.commons.io.input
Classes in org.aksw.commons.io.input with type parameters of type ReadableChannelModifier and TypeClassDescriptionclassReadableByteChannelAdapter<T extends ReadableChannel<byte[]>>Wrapper to treat a DataStream<byte[]> as aReadableByteChannel.interfaceReadableChannelBuilder<A,X extends ReadableChannel<A>, B extends ReadableChannelBuilder<A, X, B>> classReadableChannelDecoratorBase<A,X extends ReadableChannel<A>> classReadableChannelLocking<A,X extends ReadableChannel<A>> classReadableChannelSwitchableBase<A,X extends ReadableChannel<A>> classReadableChannelTracker<A,X extends ReadableChannel<A>> classReadableChannelWithConditionalBound<A,X extends ReadableChannel<A>> Readable channel wrapper that before every read checks for an end-of-file (eof) condition.classReadableChannelWithCounter<A,X extends ReadableChannel<A>> classReadableChannelWithLimit<A,X extends ReadableChannel<A>> classReadableChannelWithLimitByDelimiter<A,X extends ReadableChannel<A>> Wrap a stream such that reading is cut off at the first delimiter (including it) after a certain position.classReadableChannelWithSkipDelimiter<T extends ReadableChannel<byte[]>>Wrapper whose read method skips over the next byte delimiter (usually newline).classReadableChannelWithValue<A,T, X extends ReadableChannel<A>> Subinterfaces of ReadableChannel in org.aksw.commons.io.inputClasses in org.aksw.commons.io.input that implement ReadableChannelModifier and TypeClassDescriptionclassclassclassReadableChannelDecoratorBase<A,X extends ReadableChannel<A>> classReadableChannelLocking<A,X extends ReadableChannel<A>> classclassReadableChannelOverNio<T extends ReadableByteChannel>classThe channel adds the open/close mechanic.classDecorator meant to switch from a buffered stream to a non-buffering oneclassReadableChannelSwitchableBase<A,X extends ReadableChannel<A>> classReadableChannelTracker<A,X extends ReadableChannel<A>> classReadableChannelWithConditionalBound<A,X extends ReadableChannel<A>> Readable channel wrapper that before every read checks for an end-of-file (eof) condition.classReadableChannelWithCounter<A,X extends ReadableChannel<A>> classReadableChannelWithLimit<A,X extends ReadableChannel<A>> classReadableChannelWithLimitByDelimiter<A,X extends ReadableChannel<A>> Wrap a stream such that reading is cut off at the first delimiter (including it) after a certain position.classReadableChannelWithSkipDelimiter<T extends ReadableChannel<byte[]>>Wrapper whose read method skips over the next byte delimiter (usually newline).classReadableChannelWithValue<A,T, X extends ReadableChannel<A>> classclassSeekableReadableChannelDecoratorBase<A,X extends SeekableReadableChannel<A>> classSeekableReadableChannelLocking<A,X extends SeekableReadableChannel<A>> classSeekableReadableChannelOmitBlockMarker<A,X extends SeekableReadableChannel<A>> classclassclassclassclassSeekableReadableChannelWithLimit<A,X extends SeekableReadableChannel<A>> classSeekableReadableChannelWithMonitor<A,X extends SeekableReadableChannel<A>> classSeekableReadableChannelWithOffset<A,X extends SeekableReadableChannel<A>> Fields in org.aksw.commons.io.input declared as ReadableChannelModifier and TypeFieldDescriptionprotected ReadableChannel<A>ReadableChannelConcat.currentprotected ReadableChannel<T[]>IteratorOverReadableChannel.dataStreamprotected TReadableByteChannelAdapter.delegateprotected XReadableChannelWithLimit.delegateFields in org.aksw.commons.io.input with type parameters of type ReadableChannelModifier and TypeFieldDescriptionprotected Iterator<ReadableChannel<A>>ReadableChannelConcat.itprotected List<ReadableChannel<A>>ReadableChannelConcat.membersMethods in org.aksw.commons.io.input with type parameters of type ReadableChannelModifier and TypeMethodDescriptionstatic <T extends ReadableChannel<byte[]>>
ReadableByteChannelAdapter<T>ReadableChannels.newChannel(T dataStream) static <A,X extends ReadableChannel<A>>
ReadableChannelWithCounter<A,X> ReadableChannels.withCounter(X decoratee) static <A,T, X extends ReadableChannel<A>>
ReadableChannelWithValue<A,T, X> ReadableChannels.withValue(X decoratee, T value) Methods in org.aksw.commons.io.input that return ReadableChannelModifier and TypeMethodDescriptionstatic <T> ReadableChannel<T>ReadableChannels.closeShield(ReadableChannel<T> in) static <A> ReadableChannel<A>ReadableChannels.concat(List<ReadableChannel<A>> channels) static <A> ReadableChannel<A>ReadableChannels.concat(ArrayOps<A> arrayOps, List<ReadableChannel<A>> channels) static <A> ReadableChannel<A>ReadableChannels.limit(ReadableChannel<A> dataStream, long limit) static <A> ReadableChannel<A>ReadableChannels.newChannel(ReadableSource<A> source) ReadableChannelSupplier.newChannel()default ReadableChannel<A>ReadableChannelFactory.newReadableChannel()default ReadableChannel<A>ReadableChannelFactory.newReadableChannel(long offset) ReadableChannelFactory.newReadableChannel(long start, long end) default ReadableChannel<A>ReadableChannelFactory.newReadableChannel(com.google.common.collect.Range<Long> range) Offsets typically start with 0 but the interface contract leaves that unspecifieddefault ReadableChannel<A>ReadableChannelSource.newReadableChannel(long start, long end) ReadableChannelSources are implemented against the newRedableChannel(Range) method.ReadableChannelSourceConcat.newReadableChannel(com.google.common.collect.Range<Long> range) ReadableChannel<byte[]>ReadableChannelSourceOverPath.newReadableChannel(com.google.common.collect.Range<Long> range) ReadableChannel<T[]>ReadableChannelSourceOverStreamFactory.newReadableChannel(long offset, long end) static ReadableChannel<byte[]>ReadableChannels.wrap(InputStream inputStream) Note: The inputStream is internally wrapped with custom readable byte channel that does not close the input stream when a thread gets interrupted.static ReadableChannel<byte[]>ReadableChannels.wrap(ReadableByteChannel channel) Bridge to java.nio.static <T> ReadableChannel<T[]>static <T> ReadableChannel<T[]>Methods in org.aksw.commons.io.input with parameters of type ReadableChannelModifier and TypeMethodDescriptionstatic <T> ReadableChannel<T>ReadableChannels.closeShield(ReadableChannel<T> in) static <A> ReadableChannel<A>ReadableChannels.limit(ReadableChannel<A> dataStream, long limit) static <T> Iterator<T>ReadableChannels.newBoxedIterator(ReadableChannel<?> dataStream) static <T> CloseableIterator<T>ReadableChannels.newBoxedIterator(ReadableChannel<?> dataStream, int internalBufferSize) static <T> Stream<T>ReadableChannels.newBoxedStream(ReadableChannel<?> dataStream) static <T> Stream<T>ReadableChannels.newBoxedStream(ReadableChannel<?> dataStream, int internalBufferSize) static InputStreamReadableChannels.newInputStream(ReadableChannel<byte[]> dataStream) static <T> CloseableIterator<T>ReadableChannels.newIterator(ReadableChannel<T[]> dataStream) static <T> CloseableIterator<T>ReadableChannels.newIterator(ReadableChannel<T[]> dataStream, int internalBufferSize) static <T> Stream<T>ReadableChannels.newStream(ReadableChannel<T[]> dataStream) Wrap as a java8 stream.static <A> longReadableChannels.skip(ReadableChannel<A> channel, long req, A array, int position, int length) static <A> SeekableReadableChannel<A>SeekableReadableChannels.wrapForwardSeekable(ReadableChannel<A> channel, long basePos) Wrap a readable channel such the positioning via skipping becomes possibleMethod parameters in org.aksw.commons.io.input with type arguments of type ReadableChannelModifier and TypeMethodDescriptionstatic <A> ReadableChannel<A>ReadableChannels.concat(List<ReadableChannel<A>> channels) static <A> ReadableChannel<A>ReadableChannels.concat(ArrayOps<A> arrayOps, List<ReadableChannel<A>> channels) Constructors in org.aksw.commons.io.input with parameters of type ReadableChannelModifierConstructorDescriptionIteratorOverReadableChannel(ArrayOps<T[]> arrayOps, ReadableChannel<T[]> dataStream, int internalBufferSize) ReadableChannelSwitchable(ReadableChannel<A> delegate) SeekableReadableChannelOverReadableChannel(ReadableChannel<A> delegate, long basePos) Constructor parameters in org.aksw.commons.io.input with type arguments of type ReadableChannelModifierConstructorDescriptionReadableChannelConcat(ArrayOps<A> arrayOps, List<ReadableChannel<A>> members) -
Uses of ReadableChannel in org.aksw.commons.io.slice
Classes in org.aksw.commons.io.slice that implement ReadableChannel