public class SystemDataRegionConfiguration extends Object implements Serializable
DataStorageConfiguration
.
This class is similiar to DataRegionConfiguration
, but with restricted set of properties.Modifier and Type | Field and Description |
---|---|
static long |
DFLT_SYS_REG_INIT_SIZE
Default initial size in bytes of a memory chunk for the system cache (40 MB).
|
static long |
DFLT_SYS_REG_MAX_SIZE
Default max size in bytes of a memory chunk for the system cache (100 MB).
|
Constructor and Description |
---|
SystemDataRegionConfiguration() |
Modifier and Type | Method and Description |
---|---|
long |
getInitialSize()
Initial size of a data region reserved for system cache.
|
long |
getMaxSize()
Maximum data region size in bytes reserved for system cache.
|
SystemDataRegionConfiguration |
setInitialSize(long initSize)
Sets initial size of a data region reserved for system cache.
|
SystemDataRegionConfiguration |
setMaxSize(long maxSize)
Sets maximum data region size in bytes reserved for system cache.
|
public static final long DFLT_SYS_REG_INIT_SIZE
public static final long DFLT_SYS_REG_MAX_SIZE
public long getInitialSize()
public SystemDataRegionConfiguration setInitialSize(long initSize)
DFLT_SYS_REG_INIT_SIZE
initSize
- Size in bytes.this
for chaining.public long getMaxSize()
public SystemDataRegionConfiguration setMaxSize(long maxSize)
DFLT_SYS_REG_MAX_SIZE
.maxSize
- Maximum size in bytes for system cache data region.this
for chaining.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023