Interface TransientStoreFactory
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CachingTransientStoreFactory
,ZkTransientStoreFactory
Factory that is used to obtain a
store
instance.-
Method Summary
Modifier and TypeMethodDescription<V> TransientStore<V>
getOrCreateStore
(TransientStoreConfig<V> config) Returns atransient store
instance for the given configuration.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getOrCreateStore
Returns atransient store
instance for the given configuration. Note that implementors have liberty to cache previousstore
instances.- Type Parameters:
V
- store value type- Parameters:
config
- store configuration
-