Interface TransientStoreFactory

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
CachingTransientStoreFactory, ZkTransientStoreFactory

public interface TransientStoreFactory extends AutoCloseable
Factory that is used to obtain a store instance.
  • Method Details

    • getOrCreateStore

      <V> TransientStore<V> getOrCreateStore(TransientStoreConfig<V> config)
      Returns a transient store instance for the given configuration. Note that implementors have liberty to cache previous store instances.
      Type Parameters:
      V - store value type
      Parameters:
      config - store configuration