RxJava



rx.operators
Class ChunkedOperation

java.lang.Object
  extended by rx.operators.ChunkedOperation
Direct Known Subclasses:
OperationBuffer, OperationWindow

public class ChunkedOperation
extends java.lang.Object

The base class for operations that break observables into "chunks". Currently buffers and windows.


Nested Class Summary
protected static class ChunkedOperation.Chunk<T,C>
          This class represents a single chunk: A sequence of recorded values.
protected static interface ChunkedOperation.ChunkCreator
          This interface defines a way which specifies when to create a new internal ChunkedOperation.Chunk object.
protected static class ChunkedOperation.ChunkObserver<T,C>
          This ChunkedOperation.ChunkObserver object can be constructed using a ChunkedOperation.Chunks object, a Observer object, and a ChunkedOperation.ChunkCreator object.
protected static class ChunkedOperation.Chunks<T,C>
          This class represents an object which contains and manages multiple ChunkedOperation.Chunk objects.
protected static class ChunkedOperation.NonOverlappingChunks<T,C>
          This class is an extension on the ChunkedOperation.Chunks class which only supports one active (not yet emitted) internal ChunkedOperation.Chunks object.
protected static class ChunkedOperation.ObservableBasedMultiChunkCreator<T,C>
          This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk whenever it receives an object from the provided chunkOpenings Observable, and closes the corresponding ChunkedOperation.Chunk object when it receives an object from the provided Observable created with the chunkClosingSelector Func1.
protected static class ChunkedOperation.ObservableBasedSingleChunkCreator<T,C>
          This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk whenever it receives an object from the provided Observable created with the chunkClosingSelector Func0.
protected static class ChunkedOperation.OverlappingChunks<T,C>
          This class is an extension on the ChunkedOperation.Chunks class which actually has no additional behavior than its super class.
protected static class ChunkedOperation.SingleChunkCreator<T,C>
          This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk when it is initialized, but provides no additional functionality.
protected static class ChunkedOperation.SizeBasedChunks<T,C>
          This class is an extension on the ChunkedOperation.Chunks class.
protected static class ChunkedOperation.SkippingChunkCreator<T,C>
          This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk every time after it has seen a certain amount of elements.
protected static class ChunkedOperation.TimeAndSizeBasedChunks<T,C>
          This class is an extension on the ChunkedOperation.Chunks class.
protected static class ChunkedOperation.TimeBasedChunkCreator<T,C>
          This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk every time after a fixed period of time has elapsed.
protected static class ChunkedOperation.TimeBasedChunks<T,C>
          This class is an extension on the ChunkedOperation.Chunks class.
 
Constructor Summary
ChunkedOperation()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkedOperation

public ChunkedOperation()