public interface MeasurementStore extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
alocateMeasurements(EntityMeasurementsInfo measurement,
int sampleTimeMillis)
Make any allocations necessary for the following measurements.
|
void |
flush()
flush all data that might be buffered by this store.
|
void |
saveMeasurements(EntityMeasurementsInfo measurementInfo,
long timeStampMillis,
int sampleTimeMillis,
long... measurements)
Save measurements.
|
void alocateMeasurements(EntityMeasurementsInfo measurement, int sampleTimeMillis) throws IOException
measurement
- sampleTimeMillis
- IOException
void saveMeasurements(EntityMeasurementsInfo measurementInfo, long timeStampMillis, int sampleTimeMillis, long... measurements) throws IOException
measurementInfo
- timeStampMillis
- sampleTimeMillis
- measurements
- IOException
void flush() throws IOException
IOException
Copyright © 2014. All rights reserved.