RxJava
rx.operators
Class ChunkedOperation.TimeBasedChunkCreator<T,C>
java.lang.Object
   rx.operators.ChunkedOperation.TimeBasedChunkCreator<T,C>
rx.operators.ChunkedOperation.TimeBasedChunkCreator<T,C>
- Type Parameters:
- T- The type of object all internal- ChunkedOperation.Chunkobjects record.
             The type of object being tracked by the- ChunkedOperation.Chunk
- All Implemented Interfaces: 
- ChunkedOperation.ChunkCreator
- Enclosing class:
- ChunkedOperation
- protected static class ChunkedOperation.TimeBasedChunkCreator<T,C> 
- extends java.lang.Object- implements ChunkedOperation.ChunkCreator
This ChunkedOperation.ChunkCreator creates a new ChunkedOperation.Chunk every time after a fixed
 period of time has elapsed.
 
| Method Summary | 
|  void | onValuePushed()Signifies a onNext event.
 | 
|  void | stop()Signifies a onCompleted or onError event.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ChunkedOperation.TimeBasedChunkCreator
public ChunkedOperation.TimeBasedChunkCreator(ChunkedOperation.NonOverlappingChunks<T,C> chunks,
                                              long time,
                                              java.util.concurrent.TimeUnit unit,
                                              Scheduler scheduler)
ChunkedOperation.TimeBasedChunkCreator
public ChunkedOperation.TimeBasedChunkCreator(ChunkedOperation.OverlappingChunks<T,C> chunks,
                                              long time,
                                              java.util.concurrent.TimeUnit unit,
                                              Scheduler scheduler)
onValuePushed
public void onValuePushed()
- Description copied from interface: ChunkedOperation.ChunkCreator
- Signifies a onNext event.
 
- 
- Specified by:
- onValuePushedin interface- ChunkedOperation.ChunkCreator
 
- 
 
stop
public void stop()
- Description copied from interface: ChunkedOperation.ChunkCreator
- Signifies a onCompleted or onError event. Should be used to clean up open
 subscriptions and other still running background tasks.
 
- 
- Specified by:
- stopin interface- ChunkedOperation.ChunkCreator
 
-