Class CachingHiveMetastoreConfig


  • public class CachingHiveMetastoreConfig
    extends Object
    • Constructor Detail

      • CachingHiveMetastoreConfig

        public CachingHiveMetastoreConfig()
    • Method Detail

      • getMetastoreCacheTtl

        @NotNull
        public @NotNull io.airlift.units.Duration getMetastoreCacheTtl()
      • setMetastoreCacheTtl

        @Config("hive.metastore-cache-ttl")
        public CachingHiveMetastoreConfig setMetastoreCacheTtl​(io.airlift.units.Duration metastoreCacheTtl)
      • getMetastoreRefreshInterval

        @NotNull
        public @NotNull Optional<@MinDuration("1ms") io.airlift.units.Duration> getMetastoreRefreshInterval()
      • setMetastoreRefreshInterval

        @Config("hive.metastore-refresh-interval")
        public CachingHiveMetastoreConfig setMetastoreRefreshInterval​(io.airlift.units.Duration metastoreRefreshInterval)
      • getMetastoreCacheMaximumSize

        @Min(1L)
        public @javax.validation.constraints.Min(1L) long getMetastoreCacheMaximumSize()
      • setMetastoreCacheMaximumSize

        @Config("hive.metastore-cache-maximum-size")
        public CachingHiveMetastoreConfig setMetastoreCacheMaximumSize​(long metastoreCacheMaximumSize)
      • getMaxMetastoreRefreshThreads

        @Min(1L)
        public @javax.validation.constraints.Min(1L) int getMaxMetastoreRefreshThreads()
      • setMaxMetastoreRefreshThreads

        @Config("hive.metastore-refresh-max-threads")
        public CachingHiveMetastoreConfig setMaxMetastoreRefreshThreads​(int maxMetastoreRefreshThreads)