public interface Backend_HistoricalDataList
Backend_HistoricalDatabase
.Modifier and Type | Interface and Description |
---|---|
static interface |
Backend_HistoricalDataList.AsyncLoadCallback |
Modifier and Type | Field and Description |
---|---|
static int |
LOAD_STATE__LOADED |
static int |
LOAD_STATE__LOADING |
static int |
LOAD_STATE__NOT_LOADED |
Modifier and Type | Method and Description |
---|---|
void |
add_multiple(ForEach_Returning<HistoricalData> historicalData,
int persistenceLevel,
long limit) |
void |
add_multiple(java.util.Iterator<HistoricalData> historicalData,
int persistenceLevel,
long limit) |
void |
add_single(HistoricalData historicalData,
int persistenceLevel,
long limit) |
void |
delete_fromMemoryAndDatabase(EpochTimeRange range,
long count) |
void |
delete_fromMemoryOnly(EpochTimeRange range,
long count) |
void |
delete_fromMemoryOnlyForNowButDatabaseSoon(EpochTimeRange range,
long count) |
boolean |
doForEach(EpochTimeRange range,
java.lang.Object forEach) |
HistoricalData |
get(EpochTimeRange range,
int offset) |
int |
getCount(EpochTimeRange range) |
HistoricalDataCursor |
getCursor(EpochTimeRange range) |
java.util.Iterator<HistoricalData> |
getIterator(EpochTimeRange range) |
int |
getLoadState() |
java.lang.String |
getMacAddress() |
EpochTimeRange |
getRange() |
void |
init(Backend_HistoricalDatabase database,
java.lang.String macAddress,
java.util.UUID uuid,
java.lang.String uuidName,
boolean hasExistingTable) |
void |
load(Backend_HistoricalDataList.AsyncLoadCallback callback_nullable) |
static final int LOAD_STATE__NOT_LOADED
static final int LOAD_STATE__LOADING
static final int LOAD_STATE__LOADED
void init(Backend_HistoricalDatabase database, java.lang.String macAddress, java.util.UUID uuid, java.lang.String uuidName, boolean hasExistingTable)
void add_single(HistoricalData historicalData, int persistenceLevel, long limit)
void add_multiple(java.util.Iterator<HistoricalData> historicalData, int persistenceLevel, long limit)
void add_multiple(ForEach_Returning<HistoricalData> historicalData, int persistenceLevel, long limit)
int getCount(EpochTimeRange range)
HistoricalData get(EpochTimeRange range, int offset)
java.util.Iterator<HistoricalData> getIterator(EpochTimeRange range)
boolean doForEach(EpochTimeRange range, java.lang.Object forEach)
void delete_fromMemoryOnly(EpochTimeRange range, long count)
void delete_fromMemoryOnlyForNowButDatabaseSoon(EpochTimeRange range, long count)
void delete_fromMemoryAndDatabase(EpochTimeRange range, long count)
java.lang.String getMacAddress()
void load(Backend_HistoricalDataList.AsyncLoadCallback callback_nullable)
int getLoadState()
HistoricalDataCursor getCursor(EpochTimeRange range)
EpochTimeRange getRange()