Class SharedHiveMetastoreCache
- java.lang.Object
-
- io.trino.plugin.hive.metastore.cache.SharedHiveMetastoreCache
-
public class SharedHiveMetastoreCache extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharedHiveMetastoreCache.CachingHiveMetastoreFactoryclassSharedHiveMetastoreCache.ImpersonationCachingHiveMetastoreFactory
-
Constructor Summary
Constructors Constructor Description SharedHiveMetastoreCache(CatalogName catalogName, NodeManager nodeManager, CachingHiveMetastoreConfig config, ImpersonationCachingConfig impersonationCachingConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HiveMetastoreFactorycreateCachingHiveMetastoreFactory(HiveMetastoreFactory metastoreFactory)booleanisEnabled()voidstart()voidstop()
-
-
-
Constructor Detail
-
SharedHiveMetastoreCache
@Inject public SharedHiveMetastoreCache(CatalogName catalogName, NodeManager nodeManager, CachingHiveMetastoreConfig config, ImpersonationCachingConfig impersonationCachingConfig)
-
-
Method Detail
-
start
@PostConstruct public void start()
-
stop
@PreDestroy public void stop()
-
isEnabled
public boolean isEnabled()
-
createCachingHiveMetastoreFactory
public HiveMetastoreFactory createCachingHiveMetastoreFactory(HiveMetastoreFactory metastoreFactory)
-
-