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 - IOExceptionvoid saveMeasurements(EntityMeasurementsInfo measurementInfo, long timeStampMillis, int sampleTimeMillis, long... measurements) throws IOException
measurementInfo - timeStampMillis - sampleTimeMillis - measurements - IOExceptionvoid flush()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.