Interface TmIndexService

  • All Superinterfaces:
    com.google.common.util.concurrent.Service, StreamSubscriber, YamcsService
    All Known Implementing Classes:
    CcsdsTmIndex

    public interface TmIndexService
    extends StreamSubscriber, YamcsService
    Interface for (completeness) TmIndex. All the implementing classes have to provide a constructor(String archiveInstance, boolean readonly)
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

        com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteRecords​(long start, long stop)  
      IndexIterator getIterator​(List<org.yamcs.protobuf.Yamcs.NamedObjectId> names, long start, long stop)
      return an iterator that provides all the index entries between start and stop
      • Methods inherited from interface com.google.common.util.concurrent.Service

        addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
    • Method Detail

      • deleteRecords

        void deleteRecords​(long start,
                           long stop)
      • getIterator

        IndexIterator getIterator​(List<org.yamcs.protobuf.Yamcs.NamedObjectId> names,
                                  long start,
                                  long stop)
        return an iterator that provides all the index entries between start and stop
        Parameters:
        names - can be used to filter which entries are returned. If null, everything is returned.
        start -
        stop -
        Returns: