public interface IndexRequestListener
Used by
IndexRequestProcessor-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidbegin(IndexRequestListener.IndexType type, String tblName) Called at the beginning or when the table/type changes in case multiple indices are sent.voidCalled right after the processing ended, either successfully or through error.voidprocessData(org.yamcs.protobuf.Yamcs.ArchiveRecord ar) Called with new data
-
Method Details
-
begin
Called at the beginning or when the table/type changes in case multiple indices are sent. If only one type of index is requested, it can be ignored -
processData
void processData(org.yamcs.protobuf.Yamcs.ArchiveRecord ar) Called with new data- Parameters:
ar-
-
finished
Called right after the processing ended, either successfully or through error. If a paged request has been performed, the token can be used to retrieve the next chunk
-