|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataLoggerService
Method Summary | |
---|---|
java.lang.String |
getId()
|
Record |
getValue(java.lang.String id,
long timestamp)
Gets a single value with a specified timestamp from the database. |
java.util.List<Record> |
getValues(java.lang.String id,
long startTimestamp)
Gets all values (time series) of a channel from startTime until now. |
java.util.List<Record> |
getValues(java.lang.String id,
long startTimestamp,
long endTimestamp)
Gets all values (time series) of a channel from startTime until endTime. |
void |
log(java.util.List<LogRecordContainer> containers,
long timestamp)
|
void |
setChannelsToLog(java.util.List<LogChannel> channels)
|
Method Detail |
---|
java.lang.String getId()
void setChannelsToLog(java.util.List<LogChannel> channels)
void log(java.util.List<LogRecordContainer> containers, long timestamp)
java.util.List<Record> getValues(java.lang.String id, long startTimestamp) throws java.io.IOException
id
- unique identifier of the itemstartTimestamp
- Time of the first value in the time series in ms since epoche.
java.io.IOException
java.util.List<Record> getValues(java.lang.String id, long startTimestamp, long endTimestamp) throws java.io.IOException
id
- unique identifier of the itemstartTimestamp
- Time of the first value in the time series in ms since epoche.endTimestamp
- Time of the last value in the time series in ms since epoche
java.io.IOException
Record getValue(java.lang.String id, long timestamp) throws java.io.IOException
id
- unique identifier of the itemtimestamp
- timestamp of the value (ms since epoche)
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |