public class CacheManagerOptions extends Object
Constructor and Description |
---|
CacheManagerOptions()
Constructor.
|
public static CacheManagerOptions create(AlluxioConfiguration conf)
conf
- public static CacheManagerOptions createForWorker(AlluxioConfiguration conf)
conf
- public boolean isAsyncRestoreEnabled()
public boolean isAsyncWriteEnabled()
public int getAsyncWriteThreads()
public boolean isQuotaEnabled()
public boolean isTtlEnabled()
public long getTtlCheckIntervalSeconds()
public long getTtlThresholdSeconds()
public int getMaxEvictionRetries()
public long getPageSize()
public List<PageStoreOptions> getPageStoreOptions()
public CacheEvictorOptions getCacheEvictorOptions()
public CacheManagerOptions setAsyncRestoreEnabled(boolean isAsyncRestoreEnabled)
isAsyncRestoreEnabled
- public CacheManagerOptions setIsAsyncWriteEnabled(boolean isAsyncWriteEnabled)
isAsyncWriteEnabled
- public CacheManagerOptions setAsyncWriteThreads(int asyncWriteThreads)
asyncWriteThreads
- public CacheManagerOptions setCacheEvictorOptions(CacheEvictorOptions cacheEvictorOptions)
cacheEvictorOptions
- public CacheManagerOptions setMaxEvictionRetries(int maxEvictionRetries)
maxEvictionRetries
- public CacheManagerOptions setPageSize(long pageSize)
pageSize
- public CacheManagerOptions setQuotaEnabled(boolean isQuotaEnabled)
isQuotaEnabled
- public CacheManagerOptions setPageStoreOptions(List<PageStoreOptions> pageStoreOptions)
pageStoreOptions
- public CacheManagerOptions setTtlEnabled(boolean isTtlEnabled)
isTtlEnabled
- public CacheManagerOptions setTtlCheckIntervalSeconds(long checkIntervalSeconds)
checkIntervalSeconds
- public CacheManagerOptions setTtlThresholdSeconds(long thresholdSeconds)
thresholdSeconds
- Copyright © 2023. All Rights Reserved.