Constructor and Description |
---|
PageStoreOptions() |
Modifier and Type | Method and Description |
---|---|
static List<PageStoreOptions> |
create(AlluxioConfiguration conf) |
static List<PageStoreOptions> |
createForWorkerPageStore(AlluxioConfiguration conf) |
String |
getAlluxioVersion() |
long |
getCacheSize() |
int |
getFileBuckets() |
int |
getIndex() |
double |
getOverheadRatio() |
long |
getPageSize() |
Path |
getRootDir() |
long |
getTimeoutDuration() |
int |
getTimeoutThreads() |
PageStoreType |
getType() |
PageStoreOptions |
setAlluxioVersion(String alluxioVersion) |
PageStoreOptions |
setCacheSize(long cacheSize) |
PageStoreOptions |
setFileBuckets(int fileBuckets) |
PageStoreOptions |
setIndex(int index) |
PageStoreOptions |
setOverheadRatio(double overheadRatio) |
PageStoreOptions |
setPageSize(long pageSize) |
PageStoreOptions |
setRootDir(Path rootDir) |
PageStoreOptions |
setStoreType(PageStoreType storeType) |
PageStoreOptions |
setTimeoutDuration(long timeout) |
PageStoreOptions |
setTimeoutThreads(int threads) |
public static List<PageStoreOptions> create(AlluxioConfiguration conf)
conf
- configurationPageStoreOptions
public static List<PageStoreOptions> createForWorkerPageStore(AlluxioConfiguration conf)
conf
- configurationPageStoreOptions
public PageStoreType getType()
public PageStoreOptions setRootDir(Path rootDir)
rootDir
- the root directories where pages are storedpublic 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 String getAlluxioVersion()
public PageStoreOptions setAlluxioVersion(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 © 2023. All Rights Reserved.