Class CachingTransientStoreFactory
java.lang.Object
org.apache.drill.exec.coord.store.CachingTransientStoreFactory
- All Implemented Interfaces:
AutoCloseable,TransientStoreFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<V> TransientStore<V> getOrCreateStore(TransientStoreConfig<V> config) Returns atransient storeinstance for the given configuration.static TransientStoreFactoryof(TransientStoreFactory delegate)
-
Constructor Details
-
CachingTransientStoreFactory
-
-
Method Details
-
getOrCreateStore
Description copied from interface:TransientStoreFactoryReturns atransient storeinstance for the given configuration. Note that implementors have liberty to cache previousstoreinstances.- Specified by:
getOrCreateStorein interfaceTransientStoreFactory- Type Parameters:
V- store value type- Parameters:
config- store configuration
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
of
-