public interface DataStorage extends DataSource
Modifier and Type | Method and Description |
---|---|
void |
addListener(DataStorageListener listener)
Adds a
DataStorageListener to be notified when data is lost. |
SortedSet<Data> |
getAvailableData(org.epics.util.time.TimeInterval interval)
Returns all available
Data within the requested
TimeInterval . |
boolean |
hasAvailableData(org.epics.util.time.TimeInterval interval)
Returns
true if some data is available within the requested
interval, false otherwise. |
void |
removeListener(DataStorageListener listener)
Removes a
DataStorageListener . |
SortedSet<Data> |
storeData(DataChunk chunk)
|
getData
boolean hasAvailableData(org.epics.util.time.TimeInterval interval)
true
if some data is available within the requested
interval, false
otherwise.SortedSet<Data> getAvailableData(org.epics.util.time.TimeInterval interval)
Data
within the requested
TimeInterval
.SortedSet<Data> storeData(DataChunk chunk)
Data
of the specified DataChunk
and returns
the corresponding set of Data
ordered by Timestamp
.chunk
- to store.Data
ordered by Timestamp
.void addListener(DataStorageListener listener)
DataStorageListener
to be notified when data is lost.listener
- to be added.void removeListener(DataStorageListener listener)
DataStorageListener
.listener
- to be removedCopyright © 2010–2015. All rights reserved.