Class AlluxioFileSystemCacheConfig

java.lang.Object
io.trino.filesystem.alluxio.AlluxioFileSystemCacheConfig

public class AlluxioFileSystemCacheConfig extends Object
  • Constructor Details

    • AlluxioFileSystemCacheConfig

      public AlluxioFileSystemCacheConfig()
  • Method Details

    • getCacheDirectories

      @NotNull public @NotNull List<String> getCacheDirectories()
    • setCacheDirectories

      @Config("fs.cache.directories") public AlluxioFileSystemCacheConfig setCacheDirectories(String cacheDirectories)
    • getMaxCacheSizes

      public List<io.airlift.units.DataSize> getMaxCacheSizes()
    • setMaxCacheSizes

      @Config("fs.cache.max-sizes") public AlluxioFileSystemCacheConfig setMaxCacheSizes(String maxCacheSizes)
    • getCacheTTL

      @NotNull public @NotNull Optional<@MinDuration("0s") io.airlift.units.Duration> getCacheTTL()
    • setCacheTTL

      @Config("fs.cache.ttl") public AlluxioFileSystemCacheConfig setCacheTTL(io.airlift.units.Duration cacheTTL)
    • disableTTL

      public AlluxioFileSystemCacheConfig disableTTL()
    • getMaxCacheDiskUsagePercentages

      public List<@Min(0L) @Max(100L) Integer> getMaxCacheDiskUsagePercentages()
    • setMaxCacheDiskUsagePercentages

      @Config("fs.cache.max-disk-usage-percentages") public AlluxioFileSystemCacheConfig setMaxCacheDiskUsagePercentages(String maxCacheDiskUsagePercentages)
    • getCachePageSize

      @NotNull @MaxDataSize("15MB") @MinDataSize("64kB") public @NotNull @MaxDataSize("15MB") @MinDataSize("64kB") io.airlift.units.DataSize getCachePageSize()
    • setCachePageSize

      @Config("fs.cache.page-size") public AlluxioFileSystemCacheConfig setCachePageSize(io.airlift.units.DataSize cachePageSize)