Package | Description |
---|---|
org.apache.ignite.configuration |
Contains configuration-related classes.
|
Modifier and Type | Method and Description |
---|---|
DataRegionConfiguration[] |
DataStorageConfiguration.getDataRegionConfigurations()
Gets an array of all data regions configured.
|
DataRegionConfiguration |
DataStorageConfiguration.getDefaultDataRegionConfiguration() |
DataRegionConfiguration |
DataRegionConfiguration.setCheckpointPageBufferSize(long checkpointPageBufSize)
Sets amount of memory allocated for the checkpoint temporary buffer.
|
DataRegionConfiguration |
DataRegionConfiguration.setEmptyPagesPoolSize(int emptyPagesPoolSize)
Specifies the minimal number of empty pages to be present in reuse lists for this data region.
|
DataRegionConfiguration |
DataRegionConfiguration.setEvictionThreshold(double evictionThreshold)
Sets memory pages eviction threshold.
|
DataRegionConfiguration |
DataRegionConfiguration.setInitialSize(long initSize)
Sets initial memory region size defined by this data region.
|
DataRegionConfiguration |
DataRegionConfiguration.setMaxSize(long maxSize)
Sets maximum memory region size defined by this data region.
|
DataRegionConfiguration |
DataRegionConfiguration.setMetricsEnabled(boolean metricsEnabled)
Sets memory metrics enabled flag.
|
DataRegionConfiguration |
DataRegionConfiguration.setMetricsRateTimeInterval(long metricsRateTimeInterval)
Sets time interval for
DataRegionMetrics.getAllocationRate()
and DataRegionMetrics.getEvictionRate() monitoring purposes. |
DataRegionConfiguration |
DataRegionConfiguration.setMetricsSubIntervalCount(int metricsSubIntervalCnt)
Sets a number of sub-intervals the whole
setMetricsRateTimeInterval(long) will be split into to calculate
DataRegionMetrics.getAllocationRate() and DataRegionMetrics.getEvictionRate() rates (5 by default). |
DataRegionConfiguration |
DataRegionConfiguration.setName(String name)
Sets data region name.
|
DataRegionConfiguration |
DataRegionConfiguration.setPageEvictionMode(DataPageEvictionMode evictionMode)
Sets memory pages eviction mode.
|
DataRegionConfiguration |
DataRegionConfiguration.setPersistenceEnabled(boolean persistenceEnabled)
Sets persistence enabled flag.
|
DataRegionConfiguration |
DataRegionConfiguration.setSwapPath(String swapPath)
Sets a path to the memory-mapped files.
|
Modifier and Type | Method and Description |
---|---|
DataStorageConfiguration |
DataStorageConfiguration.setDataRegionConfigurations(DataRegionConfiguration... dataRegionConfigurations)
Sets data regions configurations.
|
DataStorageConfiguration |
DataStorageConfiguration.setDefaultDataRegionConfiguration(DataRegionConfiguration dfltDataRegConf)
Overrides configuration of default data region which is created automatically.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019