| Modifier and Type | Method and Description |
|---|---|
void |
close()
close the database and release resources
the object is unusable after this call.
|
Yamcs.ArchiveTag |
deleteTag(long tagTime,
int tagId)
Deletes the specified tag
|
Yamcs.ArchiveTag |
getTag(long tagTime,
int tagId)
Returns a specific tag, or null if the requested tag does not exist
|
void |
getTags(TimeInterval intv,
TagReceiver callback)
Synchonously gets tags, passing every separate one to the provided
TagReceiver. |
Yamcs.ArchiveTag |
insertTag(Yamcs.ArchiveTag tag)
Inserts a new Tag.
|
Yamcs.ArchiveTag |
updateTag(long tagTime,
int tagId,
Yamcs.ArchiveTag tag)
Updates an existing tag.
|
public void getTags(TimeInterval intv, TagReceiver callback) throws IOException
TagReceiver.getTags in interface TagDbIOExceptionpublic Yamcs.ArchiveTag getTag(long tagTime, int tagId) throws IOException
getTag in interface TagDbIOExceptionpublic Yamcs.ArchiveTag insertTag(Yamcs.ArchiveTag tag) throws IOException
insertTag in interface TagDbIOExceptionpublic Yamcs.ArchiveTag updateTag(long tagTime, int tagId, Yamcs.ArchiveTag tag) throws YamcsException, IOException
Note that both tagId and oldTagStart need to be specified so that a direct lookup in the internal data structure can be made.
updateTag in interface TagDbYamcsExceptionIOExceptionpublic Yamcs.ArchiveTag deleteTag(long tagTime, int tagId) throws IOException, YamcsException
deleteTag in interface TagDbYamcsException - if the id was invalid, or if the tag could not be foundIOExceptionCopyright © 2017 Space Applications Services. All rights reserved.