public abstract class PageStoreOptions extends Object
PageStore
.Modifier and Type | Field and Description |
---|---|
protected String |
mAlluxioVersion
Alluxio client version.
|
protected long |
mCacheSize
Cache size for the data.
|
protected long |
mPageSize
Page size for the data.
|
protected String |
mRootDir
Root directory where the data is stored.
|
Constructor and Description |
---|
PageStoreOptions() |
Modifier and Type | Method and Description |
---|---|
static PageStoreOptions |
create(AlluxioConfiguration conf) |
String |
getAlluxioVersion() |
long |
getCacheSize() |
long |
getPageSize() |
String |
getRootDir() |
abstract PageStoreType |
getType() |
void |
setAlluxioVersion(String alluxioVersion) |
void |
setCacheSize(long cacheSize) |
void |
setPageSize(long pageSize) |
void |
setRootDir(String rootDir) |
<T> T |
toOptions() |
protected String mRootDir
protected long mPageSize
protected long mCacheSize
protected String mAlluxioVersion
public static PageStoreOptions create(AlluxioConfiguration conf)
conf
- configurationPageStoreOptions
public abstract PageStoreType getType()
public <T> T toOptions()
T
- The type corresponding to the underlying optionspublic void setRootDir(String rootDir)
rootDir
- the root directory where pages are storedpublic String getRootDir()
public long getPageSize()
public void setPageSize(long pageSize)
pageSize
- the size of the page in bytespublic long getCacheSize()
public void setCacheSize(long cacheSize)
cacheSize
- the size of the cache in bytespublic String getAlluxioVersion()
public void setAlluxioVersion(String alluxioVersion)
alluxioVersion
- Alluxio client versionCopyright © 2023. All Rights Reserved.