public class RocksDBMemoryControllerUtils extends Object
Cache and WriteBufferManager which are used to control total
memory usage of RocksDB.| 构造器和说明 |
|---|
RocksDBMemoryControllerUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.flink.contrib.streaming.state.RocksDBSharedResources |
allocateRocksDBSharedResources(long totalMemorySize,
double writeBufferRatio,
double highPriorityPoolRatio,
boolean usingPartitionedIndexFilters)
Allocate memory controllable RocksDB shared resources.
|
public static org.apache.flink.contrib.streaming.state.RocksDBSharedResources allocateRocksDBSharedResources(long totalMemorySize,
double writeBufferRatio,
double highPriorityPoolRatio,
boolean usingPartitionedIndexFilters)
totalMemorySize - The total memory limit size.writeBufferRatio - The ratio of total memory which is occupied by write buffer manager.highPriorityPoolRatio - The high priority pool ratio of cache.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.