Class ReadableChannelSourceRx<T>
java.lang.Object
org.aksw.commons.rx.io.ReadableChannelSourceRx<T>
- All Implemented Interfaces:
HasArrayOps<T[]>, ReadableChannelFactory<T[]>, ReadableChannelSource<T[]>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReadableChannelSourceRx(ArrayOps<T[]> arrayOps, ListPaginator<T> listPaginator) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ReadableChannelSource<T[]> create(ArrayOps<T[]> arrayOps, ListPaginator<T> listPaginator) ReadableChannel<T[]> newReadableChannel(com.google.common.collect.Range<Long> range) longsize()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReadableChannelFactory
newReadableChannel, newReadableChannelMethods inherited from interface ReadableChannelSource
newReadableChannel
-
Field Details
-
arrayOps
-
listPaginator
-
-
Constructor Details
-
ReadableChannelSourceRx
-
-
Method Details
-
getArrayOps
- Specified by:
getArrayOpsin interfaceHasArrayOps<T>
-
create
public static <T> ReadableChannelSource<T[]> create(ArrayOps<T[]> arrayOps, ListPaginator<T> listPaginator) -
newReadableChannel
- Specified by:
newReadableChannelin interfaceReadableChannelFactory<T>
-
size
public long size()- Specified by:
sizein interfaceReadableChannelSource<T>
-