public class HashSumEventStream extends AbstractObjectStream<Event>
| Constructor and Description | 
|---|
HashSumEventStream(ObjectStream<Event> eventStream)  | 
| Modifier and Type | Method and Description | 
|---|---|
BigInteger | 
calculateHashSum()
Calculates the hash sum of the stream. 
 | 
Event | 
read()
Returns the next object. 
 | 
void | 
remove()  | 
close, resetpublic HashSumEventStream(ObjectStream<Event> eventStream)
public Event read() throws IOException
ObjectStreamread in interface ObjectStream<Event>read in class AbstractObjectStream<Event>IOException - if there is an error during readingpublic BigInteger calculateHashSum()
IllegalStateException - if the stream is not consumed completely,
     completely means that hasNext() returns falsepublic void remove()
Copyright © 2021 The Apache Software Foundation. All rights reserved.