public interface TransientStoreFactory extends AutoCloseable
store
instance.Modifier and Type | Method and Description |
---|---|
<V> TransientStore<V> |
getOrCreateStore(TransientStoreConfig<V> config)
Returns a
transient store instance for the given configuration. |
close
<V> TransientStore<V> getOrCreateStore(TransientStoreConfig<V> config)
transient store
instance for the given configuration.
Note that implementors have liberty to cache previous store
instances.V
- store value typeconfig
- store configurationCopyright © 1970 The Apache Software Foundation. All rights reserved.