public class RocksPageStoreOptions extends PageStoreOptions
RocksPageStore
.mAlluxioVersion, mCacheSize, mOverheadRatio, mPageSize, mRootDir, mTimeoutDuration, mTimeoutThreads
Constructor and Description |
---|
RocksPageStoreOptions()
Creates a new instance of
RocksPageStoreOptions . |
Modifier and Type | Method and Description |
---|---|
org.rocksdb.CompressionType |
getCompressionType() |
int |
getMaxBufferPoolSize() |
int |
getMaxPageSize() |
PageStoreType |
getType() |
int |
getWriteBufferSize() |
RocksPageStoreOptions |
setCompressionType(org.rocksdb.CompressionType type) |
RocksPageStoreOptions |
setMaxBufferPoolSize(int bufferPoolSize) |
RocksPageStoreOptions |
setMaxPageSize(int maxPageSize) |
RocksPageStoreOptions |
setWriteBufferSize(int writeBufferSize) |
Cache.PRocksPageStoreOptions |
toProto() |
String |
toString() |
create, getAlluxioVersion, getCacheSize, getOverheadRatio, getPageSize, getRootDir, getTimeoutDuration, getTimeoutThreads, setAlluxioVersion, setCacheSize, setOverheadRatio, setPageSize, setRootDir, setTimeoutDuration, setTimeoutThreads, toOptions
public RocksPageStoreOptions()
RocksPageStoreOptions
.public RocksPageStoreOptions setMaxPageSize(int maxPageSize)
maxPageSize
- the max page size that can be storedpublic int getMaxPageSize()
public RocksPageStoreOptions setWriteBufferSize(int writeBufferSize)
writeBufferSize
- the size of the rocksDB write bufferpublic int getWriteBufferSize()
public RocksPageStoreOptions setMaxBufferPoolSize(int bufferPoolSize)
bufferPoolSize
- the max number of buffers in the buffer poolpublic int getMaxBufferPoolSize()
public RocksPageStoreOptions setCompressionType(org.rocksdb.CompressionType type)
type
- the compression type for rocksDBpublic org.rocksdb.CompressionType getCompressionType()
public PageStoreType getType()
getType
in class PageStoreOptions
public Cache.PRocksPageStoreOptions toProto()
Copyright © 2023. All Rights Reserved.