Class QWResponse
java.lang.Object
org.epics.archiverappliance.retrieval.mimeresponses.QWResponse
- All Implemented Interfaces:
EventConsumer,MimeResponse
- Author:
- mshankar This is intended solely for the quick chart. Today, this is a variation of the JSON response; it may transition into a binary response soon. So, please don't use this for integration purposes; there are no guarantees for backward compatibility.
-
Field Summary
Fields inherited from interface org.epics.archiverappliance.retrieval.mimeresponses.MimeResponse
CONTENT_TYPE, PROXIED_HEADERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidprocessingPV(BasicContext retrievalContext, String pv, Instant start, Instant end, EventStreamDesc streamDesc) Called when we swich to a new PV.voidvoidswicthingToStream(EventStream strm)
-
Constructor Details
-
QWResponse
public QWResponse()
-
-
Method Details
-
consumeEvent
- Specified by:
consumeEventin interfaceEventConsumer- Throws:
Exception
-
setOutputStream
- Specified by:
setOutputStreamin interfaceMimeResponse
-
close
public void close()- Specified by:
closein interfaceMimeResponse
-
processingPV
public void processingPV(BasicContext retrievalContext, String pv, Instant start, Instant end, EventStreamDesc streamDesc) Description copied from interface:MimeResponseCalled when we swich to a new PV.- Specified by:
processingPVin interfaceMimeResponse- Parameters:
pv- The name of PVstart- Instantend- InstantstreamDesc- Could be null if we have no data in first store we hit.
-
swicthingToStream
- Specified by:
swicthingToStreamin interfaceMimeResponse
-