Class ArrayListCollectorEventStream
- java.lang.Object
-
- org.epics.archiverappliance.retrieval.postprocessors.ArrayListCollectorEventStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<Event>
,EventStream
,RemotableOverRaw
public class ArrayListCollectorEventStream extends Object implements EventStream, RemotableOverRaw
An event stream that wraps an ArrayList event stream; use this if the data in your consolidated results do not fit a clean binning pattern and you need to return results that span multiple years.- Author:
- mshankar
- See Also:
PostProcessorWithConsolidatedEventStream
-
-
Constructor Summary
Constructors Constructor Description ArrayListCollectorEventStream(ArrayListEventStream sourceStream)
-
Method Summary
Modifier and Type Method Description void
close()
RemotableEventStreamDesc
getDescription()
Iterator<Event>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ArrayListCollectorEventStream
public ArrayListCollectorEventStream(ArrayListEventStream sourceStream)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getDescription
public RemotableEventStreamDesc getDescription()
- Specified by:
getDescription
in interfaceEventStream
- Specified by:
getDescription
in interfaceRemotableOverRaw
-
-