Interface IResourceStoreManager.IVersionedResourceStoreWithLoader<Key,Value>
-
- Type Parameters:
Key
- The type of the key.Value
- The type of the derived value.
- All Superinterfaces:
IResourceStoreManager.IVersionedResourceStoreBase<Key,Value>
,IResourceStoreManager.IVersionedResourceStoreWithLoaderBase<Key,Value>
- Enclosing interface:
- IResourceStoreManager
public static interface IResourceStoreManager.IVersionedResourceStoreWithLoader<Key,Value> extends IResourceStoreManager.IVersionedResourceStoreWithLoaderBase<Key,Value>
Same asIResourceStoreManager.IVersionedResourceStore
, but with a bound loader that does not need to be specified each time when requesting a value for a key.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResourceStoreManager.IVersionedResourceStoreWithLoaderAndVersionExtractor<Key,Value>
bindVersionExtractor(ISerializableThrowingFunction<? super Key,?> versionExtractor)
Binds to a given version extractor so that values can be obtained without specifying the version.-
Methods inherited from interface de.xima.fc.common.store.versioned.IResourceStoreManager.IVersionedResourceStoreBase
computeIfAbsent, getIfPresent, remove, removeAndGetIfPresent
-
Methods inherited from interface de.xima.fc.common.store.versioned.IResourceStoreManager.IVersionedResourceStoreWithLoaderBase
computeIfAbsent
-
-
-
-
Method Detail
-
bindVersionExtractor
IResourceStoreManager.IVersionedResourceStoreWithLoaderAndVersionExtractor<Key,Value> bindVersionExtractor(ISerializableThrowingFunction<? super Key,?> versionExtractor)
Binds to a given version extractor so that values can be obtained without specifying the version.- Parameters:
versionExtractor
- The version extractor to bind to.- Returns:
- The store, bound to a loader.
-
-