public class YarchCommandHistoryAdapter extends Object implements CommandHistoryPublisher
| Modifier and Type | Field and Description |
|---|---|
static String |
DUMP_CMDHIST_STREAM_NAME |
static String |
REALTIME_CMDHIST_STREAM_NAME |
CommandComplete_KEY, CommandFailed_KEY, TransmissionContraints_KEY, Verifier_KEY_PREFIX| Constructor and Description |
|---|
YarchCommandHistoryAdapter(String archiveInstance) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(PreparedCommand pc) |
String |
getInstance() |
Stream |
getStream() |
void |
publish(Commanding.CommandId cmdId,
String key,
DataType dt,
Object value) |
void |
publish(Commanding.CommandId cmdId,
String key,
int value) |
void |
updateStringKey(Commanding.CommandId cmdId,
String key,
String value) |
void |
updateTimeKey(Commanding.CommandId cmdId,
String key,
long instant) |
public static final String REALTIME_CMDHIST_STREAM_NAME
public static final String DUMP_CMDHIST_STREAM_NAME
public YarchCommandHistoryAdapter(String archiveInstance) throws StreamSqlException, ParseException
StreamSqlExceptionParseExceptionpublic void updateStringKey(Commanding.CommandId cmdId, String key, String value)
updateStringKey in interface CommandHistoryPublisherpublic void updateTimeKey(Commanding.CommandId cmdId, String key, long instant)
updateTimeKey in interface CommandHistoryPublisherpublic void publish(Commanding.CommandId cmdId, String key, int value)
publish in interface CommandHistoryPublisherpublic void publish(Commanding.CommandId cmdId, String key, DataType dt, Object value)
public void addCommand(PreparedCommand pc)
addCommand in interface CommandHistoryPublisherpublic String getInstance()
public Stream getStream()
Copyright © 2017 Space Applications Services. All rights reserved.