Class SharedHiveMetastoreCache
java.lang.Object
io.trino.plugin.hive.metastore.cache.SharedHiveMetastoreCache
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclass -
Constructor Summary
ConstructorsConstructorDescriptionSharedHiveMetastoreCache(CatalogName catalogName, NodeManager nodeManager, CachingHiveMetastoreConfig config, ImpersonationCachingConfig impersonationCachingConfig) -
Method Summary
Modifier and TypeMethodDescriptioncreateCachingHiveMetastoreFactory(HiveMetastoreFactory metastoreFactory) booleanvoidstart()voidstop()
-
Constructor Details
-
SharedHiveMetastoreCache
@Inject public SharedHiveMetastoreCache(CatalogName catalogName, NodeManager nodeManager, CachingHiveMetastoreConfig config, ImpersonationCachingConfig impersonationCachingConfig)
-
-
Method Details
-
start
@PostConstruct public void start() -
stop
@PreDestroy public void stop() -
isEnabled
public boolean isEnabled() -
createCachingHiveMetastoreFactory
public HiveMetastoreFactory createCachingHiveMetastoreFactory(HiveMetastoreFactory metastoreFactory)
-