public class MultiEntityStorageImpl extends ObsStorageImpl implements IMultiSourceStorage<IObsStorage>
PERST implementation of IMultiSourceStorage
module.
autoCommit, db, dbRoot
config, eventHandler, lastError, logger, securityHandler, startRequested, state, stateLock, statusMsg
Constructor and Description |
---|
MultiEntityStorageImpl() |
Modifier and Type | Method and Description |
---|---|
IObsStorage |
addDataStore(String producerID)
Creates a new record data store for the given producer
|
protected org.garret.perst.Persistent |
createRoot(org.garret.perst.Storage db) |
IObsStorage |
getDataStore(String producerID)
Retrieves the data store holding data for the given producer.
|
Collection<String> |
getProducerIDs() |
addRecordStore, getFoiIDs, getFois, getFoisSpatialExtent, getNumFois, storeFoi
backup, cleanup, commit, getDataBlock, getDataBlockIterator, getDataSourceDescriptionAtTime, getDataSourceDescriptionHistory, getLatestDataSourceDescription, getNumMatchingRecords, getNumRecords, getRecordIterator, getRecordsTimeClusters, getRecordsTimeRange, getRecordStores, removeDataSourceDescription, removeDataSourceDescriptionHistory, removeRecord, removeRecords, restore, rollback, start, stop, storeDataSourceDescription, storeRecord, sync, updateDataSourceDescription, updateRecord
canInit, canStart, canStop, clearError, clearStatus, getConfiguration, getCurrentError, getCurrentState, getLocalID, getLogger, getName, getStatusMessage, init, init, isInitialized, isStarted, loadState, notifyConnectionStatus, registerListener, reportError, reportError, reportStatus, requestInit, requestStart, requestStop, saveState, setConfiguration, setState, toString, unregisterListener, updateConfig, waitForState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
backup, commit, restore, rollback, sync
cleanup, getConfiguration, getCurrentError, getCurrentState, getLocalID, getName, getStatusMessage, init, init, isInitialized, isStarted, loadState, registerListener, requestInit, requestStart, requestStop, saveState, setConfiguration, start, stop, unregisterListener, updateConfig, waitForState
getDataBlock, getDataBlockIterator, getDataSourceDescriptionAtTime, getDataSourceDescriptionHistory, getLatestDataSourceDescription, getNumMatchingRecords, getNumRecords, getRecordIterator, getRecordsTimeClusters, getRecordsTimeRange, getRecordStores, removeDataSourceDescription, removeDataSourceDescriptionHistory, removeRecord, removeRecords, storeDataSourceDescription, storeRecord, updateDataSourceDescription, updateRecord
protected org.garret.perst.Persistent createRoot(org.garret.perst.Storage db)
createRoot
in class ObsStorageImpl
public Collection<String> getProducerIDs()
getProducerIDs
in interface IMultiSourceStorage<IObsStorage>
public IObsStorage getDataStore(String producerID)
IMultiSourceStorage
getDataStore
in interface IMultiSourceStorage<IObsStorage>
public IObsStorage addDataStore(String producerID)
IMultiSourceStorage
addDataStore
in interface IMultiSourceStorage<IObsStorage>
producerID
- ID of producer to create a new record store forCopyright © 2016 Sensia Software LLC. All rights reserved.