public interface TagDb
| 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.
|
void getTags(TimeInterval intv, TagReceiver callback) throws IOException
TagReceiver.IOExceptionYamcs.ArchiveTag getTag(long tagTime, int tagId) throws IOException
IOExceptionYamcs.ArchiveTag insertTag(Yamcs.ArchiveTag tag) throws IOException
IOExceptionYamcs.ArchiveTag updateTag(long tagTime, int tagId, Yamcs.ArchiveTag tag) throws IOException, YamcsException
Note that both tagId and oldTagStart need to be specified so that a direct lookup in the internal data structure can be made.
IOExceptionYamcsExceptionYamcs.ArchiveTag deleteTag(long tagTime, int tagId) throws IOException, YamcsException
YamcsException - if the id was invalid, or if the tag could not be foundIOExceptionvoid close()
Copyright © 2018 Space Applications Services. All rights reserved.