Class TimeSpanLimitEventStream
java.lang.Object
org.epics.archiverappliance.common.mergededup.TimeSpanLimitEventStream
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<Event>,RemotableOverRaw,EventStream
An EventStream that wraps another event stream but limits the data to samples greater than or equal to a specified start time and less than or equal to a specified end time.
Used for enforcing partition granularities.
- Author:
- mshankar
-
Constructor Summary
ConstructorsConstructorDescriptionTimeSpanLimitEventStream(EventStream srcStream, Instant startTime, Instant endTime) -
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
-
TimeSpanLimitEventStream
-
-
Method Details
-
iterator
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getDescription
- Specified by:
getDescriptionin interfaceEventStream- Specified by:
getDescriptionin interfaceRemotableOverRaw
-