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 storeinstance for the given configuration.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getOrCreateStore
Returns atransient storeinstance for the given configuration. Note that implementors have liberty to cache previousstoreinstances.- Type Parameters:
V- store value type- Parameters:
config- store configuration
-