public class PageStoreOptions
extends java.lang.Object
PageStore.| Constructor and Description |
|---|
PageStoreOptions() |
public static java.util.List<PageStoreOptions> create(AlluxioConfiguration conf)
conf - configurationPageStoreOptionspublic static java.util.List<PageStoreOptions> createForWorkerPageStore(AlluxioConfiguration conf)
conf - configurationPageStoreOptionspublic PageStoreType getType()
public PageStoreOptions setRootDir(java.nio.file.Path rootDir)
rootDir - the root directories where pages are storedpublic java.nio.file.Path getRootDir()
public PageStoreOptions setIndex(int index)
index - the index of this directorypublic int getIndex()
public long getPageSize()
public PageStoreOptions setPageSize(long pageSize)
pageSize - the size of the page in bytespublic long getCacheSize()
public PageStoreOptions setCacheSize(long cacheSize)
cacheSize - the size of the cache in bytespublic java.lang.String getAlluxioVersion()
public PageStoreOptions setAlluxioVersion(java.lang.String alluxioVersion)
alluxioVersion - Alluxio client versionpublic long getTimeoutDuration()
public PageStoreOptions setTimeoutDuration(long timeout)
timeout - timeout duration for page store operations in mspublic int getTimeoutThreads()
public PageStoreOptions setTimeoutThreads(int threads)
threads - number of threads for handling timeoutpublic double getOverheadRatio()
public PageStoreOptions setOverheadRatio(double overheadRatio)
overheadRatio - the fraction of space allocated for storage overheadpublic PageStoreOptions setFileBuckets(int fileBuckets)
fileBuckets - the number of buckets to place files inpublic int getFileBuckets()
public PageStoreOptions setStoreType(PageStoreType storeType)
storeType - Copyright © 2022. All Rights Reserved.