diff options
Diffstat (limited to 'store/src/main/java/tools/refinery/data/map/VersionedMapStore.java')
-rw-r--r-- | store/src/main/java/tools/refinery/data/map/VersionedMapStore.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/store/src/main/java/tools/refinery/data/map/VersionedMapStore.java b/store/src/main/java/tools/refinery/data/map/VersionedMapStore.java new file mode 100644 index 00000000..029cf9e7 --- /dev/null +++ b/store/src/main/java/tools/refinery/data/map/VersionedMapStore.java | |||
@@ -0,0 +1,14 @@ | |||
1 | package tools.refinery.data.map; | ||
2 | |||
3 | import java.util.Set; | ||
4 | |||
5 | public interface VersionedMapStore<K, V> { | ||
6 | |||
7 | public VersionedMap<K, V> createMap(); | ||
8 | |||
9 | public VersionedMap<K, V> createMap(long state); | ||
10 | |||
11 | public Set<Long> getStates(); | ||
12 | |||
13 | public DiffCursor<K,V> getDiffCursor(long fromState, long toState); | ||
14 | } \ No newline at end of file | ||