Package org.yamcs.archive
Interface TmIndexService
- All Superinterfaces:
com.google.common.util.concurrent.Service
,StreamSubscriber
,YamcsService
- All Known Implementing Classes:
CcsdsTmIndex
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
Modifier and TypeMethodDescriptionvoid
deleteRecords
(long start, long stop) getIterator
(List<Yamcs.NamedObjectId> names, long start, long stop) return an iterator that provides all the index entries between start and stopMethods inherited from interface com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, 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, getYamcsInstance, init
-
Method Details
-
deleteRecords
void deleteRecords(long start, long stop) -
getIterator
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:
-