Package org.epics.archiverappliance
The interfaces in
org.epics.archiverappliance
are the main interfaces in the archiver appliance.
Events map to Channel Access events while EventStreams are sequences of events available in a streaming fashion.
Readers generate EventStreams; Writers consume EventStreams.
A StoragePlugin is a Reader+Writer with some initialization and other interfaces.
The typical usage of an EventStream is as follows:
try(EventStream stream = reader.getDataForPV(...)) {
for(Event event : stream) {
// Do stuff.
}
}
-
Interface Summary Interface Description Event An event represents an archiver sample.EventStream An event stream is a sequence of events in temporal order.Reader The main data retrieval interface; this is used to get an EventStream for events for one PV between a start and an end time.StoragePlugin The main interface for a storage plugin; this is an object that implements the reader and the writer interfaces.Writer The main data consumption interface, this represents objects which take an event stream and write it to a (potentially permanent) store. -
Class Summary Class Description ByteArray A version of byte[] that is used to provide some optimization for data retrieval and the like.EventStreamDesc An event stream should also support this additional information about the stream. -
Exception Summary Exception Description NoDataException Thrown when a reader has no data for a particular time frame and particular PV.