Package PamController
Interface DataOutputStore
- All Superinterfaces:
OfflineDataStore
- All Known Implementing Classes:
BinaryStore
,DBControlUnit
,SecondaryBinaryStore
Functions for a data output store. there is a fair bit of overlap for this and
OfflineDataStore, but the OfflineDataStore is really about stuff that can provide
data offline which needs mapping. This is specifically about data which will be stored
during 'normal operation, i.e. binary and database modules.
- Author:
- dg50
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteDataFrom
(long timeMillis) Delete all data from a given time, in all data streams.Get a data integrity checker.getStoreStatus
(boolean getDetail) Get the store status, i.e.Methods inherited from interface PamController.OfflineDataStore
createOfflineDataMap, getDatagramManager, getDataLocation, getDataSourceName, loadData, rewriteIndexFile, saveData
-
Method Details
-
getStoreStatus
Get the store status, i.e. does it exist, does it contain data, if so over what date range, etc.- Parameters:
getDetail
-- Returns:
-
deleteDataFrom
boolean deleteDataFrom(long timeMillis) Delete all data from a given time, in all data streams.- Parameters:
timeMillis
- time to delete from (anything >= this time)- Returns:
- true if it seems to have worked OK. False if any errors (e.g. database or file system error).
-
getInegrityChecker
DataIntegrityChecker getInegrityChecker()Get a data integrity checker. This can be called at startup to see if there is a problem.- Returns:
-