Package org.epics.archiverappliance
Interface Writer
-
- All Known Subinterfaces:
ETLDest
,StoragePlugin
- All Known Implementing Classes:
BlackholeStoragePlugin
,ChannelArchiverReadOnlyPlugin
,MergeDedupStoragePlugin
,PBOverHTTPStoragePlugin
,PlainPBStoragePlugin
public interface Writer
The main data consumption interface, this represents objects which take an event stream and write it to a (potentially permanent) store.- Author:
- mshankar
-
-
Method Summary
Modifier and Type Method Description boolean
appendData(BasicContext context, String pvName, EventStream stream)
Event
getLastKnownEvent(BasicContext context, String pvName)
Gets the last known event in this destination.
-
-
-
Method Detail
-
appendData
boolean appendData(BasicContext context, String pvName, EventStream stream) throws IOException
- Throws:
IOException
-
getLastKnownEvent
Event getLastKnownEvent(BasicContext context, String pvName) throws IOException
Gets the last known event in this destination. Future events will be appended to this destination only if their timestamp is more recent than the timestamp of this event. If there is no last known event, then a null is returned.- Parameters:
context
-pvName
- The PV name- Returns:
- Event The last known event of pvName
- Throws:
IOException
-
-
-