Package org.epics.archiverappliance
Interface Writer
- All Known Subinterfaces:
ETLDest,StoragePlugin
- All Known Implementing Classes:
BlackholeStoragePlugin,ChannelArchiverReadOnlyPlugin,MergeDedupStoragePlugin,PBOverHTTPStoragePlugin,PlainStoragePlugin
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 TypeMethodDescriptionintappendData(BasicContext context, String pvName, EventStream stream) getLastKnownEvent(BasicContext context, String pvName) Gets the last known event in this destination.
-
Method Details
-
appendData
- Throws:
IOException
-
getLastKnownEvent
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-
-