Class VersionedMapStoreStateImpl<K,V>
java.lang.Object
tools.refinery.store.map.internal.state.VersionedMapStoreStateImpl<K,V>
- All Implemented Interfaces:
VersionedMapStore<K,
V>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionVersionedMapStoreStateImpl
(ContinuousHashProvider<K> hashProvider, V defaultValue) VersionedMapStoreStateImpl
(ContinuousHashProvider<K> hashProvider, V defaultValue, VersionedMapStoreStateConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> List <VersionedMapStore<K, V>> createSharedVersionedMapStores
(int amount, ContinuousHashProvider<K> hashProvider, V defaultValue) static <K,
V> List <VersionedMapStore<K, V>> createSharedVersionedMapStores
(int amount, ContinuousHashProvider<K> hashProvider, V defaultValue, VersionedMapStoreStateConfiguration config) DiffCursor
<K, V> getDiffCursor
(Version fromState, Version toState)
-
Field Details
-
hashProvider
-
defaultValue
-
nodeCache
-
-
Constructor Details
-
VersionedMapStoreStateImpl
public VersionedMapStoreStateImpl(ContinuousHashProvider<K> hashProvider, V defaultValue, VersionedMapStoreStateConfiguration config) -
VersionedMapStoreStateImpl
-
-
Method Details
-
createMap
- Specified by:
createMap
in interfaceVersionedMapStore<K,
V>
-
createMap
- Specified by:
createMap
in interfaceVersionedMapStore<K,
V>
-
revert
-
commit
-
getDiffCursor
- Specified by:
getDiffCursor
in interfaceVersionedMapStore<K,
V>