public class ChunkerEventStream extends AbstractEventStream
| Constructor and Description |
|---|
ChunkerEventStream(ObjectStream<ChunkSample> d)
Deprecated.
|
ChunkerEventStream(ObjectStream<ChunkSample> d,
ChunkerContextGenerator cg)
Creates a new event stream based on the specified data stream using the specified context generator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Test whether there are any Events remaining in this EventStream.
|
Event |
next()
Returns the next Event object held in this EventStream.
|
removepublic ChunkerEventStream(ObjectStream<ChunkSample> d, ChunkerContextGenerator cg)
d - The data stream for this event stream.cg - The context generator which should be used in the creation of events for this event stream.public ChunkerEventStream(ObjectStream<ChunkSample> d)
ChunkerEventStream(ObjectStream, ChunkerContextGenerator) instead.d - The data stream for this event stream.public Event next()
EventStreampublic boolean hasNext()
EventStreamCopyright © 2016 The Apache Software Foundation. All rights reserved.