Class CurrentThreadWorkerEventStream
java.lang.Object
org.epics.archiverappliance.retrieval.workers.CurrentThreadWorkerEventStream
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<Event>,RemotableOverRaw,EventStream
Expands the results from a Reader using the current thread.
This is the default strategy for most retrievals; especially if the data sizes are large; here, we leverage streaming to minimize memory consumption.
We only support one iterator for this stream.
- Author:
- mshankar
-
Constructor Summary
ConstructorsConstructorDescriptionCurrentThreadWorkerEventStream(String pvName, List<Callable<EventStream>> streams) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CurrentThreadWorkerEventStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
iterator
-
getDescription
- Specified by:
getDescriptionin interfaceEventStream- Specified by:
getDescriptionin interfaceRemotableOverRaw
-