Class ImpersonationCachingConfig
- java.lang.Object
-
- io.trino.plugin.hive.metastore.cache.ImpersonationCachingConfig
-
public class ImpersonationCachingConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description ImpersonationCachingConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @javax.validation.constraints.Min(0L) longgetUserMetastoreCacheMaximumSize()@NotNull io.airlift.units.DurationgetUserMetastoreCacheTtl()ImpersonationCachingConfigsetUserMetastoreCacheMaximumSize(long userMetastoreCacheMaximumSize)ImpersonationCachingConfigsetUserMetastoreCacheTtl(io.airlift.units.Duration userMetastoreCacheTtl)
-
-
-
Method Detail
-
getUserMetastoreCacheTtl
@NotNull public @NotNull io.airlift.units.Duration getUserMetastoreCacheTtl()
-
setUserMetastoreCacheTtl
@Config("hive.user-metastore-cache-ttl") public ImpersonationCachingConfig setUserMetastoreCacheTtl(io.airlift.units.Duration userMetastoreCacheTtl)
-
getUserMetastoreCacheMaximumSize
@Min(0L) public @javax.validation.constraints.Min(0L) long getUserMetastoreCacheMaximumSize()
-
setUserMetastoreCacheMaximumSize
@Config("hive.user-metastore-cache-maximum-size") public ImpersonationCachingConfig setUserMetastoreCacheMaximumSize(long userMetastoreCacheMaximumSize)
-
-