Package org.yamcs.archive
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)
-
-
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
-
Methods inherited from interface org.yamcs.yarch.StreamSubscriber
onTuple, streamClosed
-
Methods inherited from interface org.yamcs.YamcsService
getSpec, init, init
-
-
-
-
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:
-
-