Interface UpdateStorage
-
- All Known Implementing Classes:
BaseUpdateStorage,InMemoryUpdateStorage,NoUpdateStorage
public interface UpdateStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddUpdate(NDArrayMessage array)Add an ndarray to the storagevoidclear()Clear the array storagevoidclose()Close the databaseNDArrayMessagegetUpdate(int index)Get the update at the specified indexintnumUpdates()The number of updates added to the update storage
-
-
-
Method Detail
-
addUpdate
void addUpdate(NDArrayMessage array)
Add an ndarray to the storage- Parameters:
array- the array to add
-
numUpdates
int numUpdates()
The number of updates added to the update storage- Returns:
-
clear
void clear()
Clear the array storage
-
getUpdate
NDArrayMessage getUpdate(int index)
Get the update at the specified index- Parameters:
index- the update to get- Returns:
- the update at the specified index
-
close
void close()
Close the database
-
-