Package org.apache.ignite.configuration
Class SystemDataRegionConfiguration
- java.lang.Object
- 
- org.apache.ignite.configuration.SystemDataRegionConfiguration
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class SystemDataRegionConfiguration extends Object implements Serializable This class allows defining system data region configuration with various parameters for Apache Ignite page memory (seeDataStorageConfiguration. This class is similiar toDataRegionConfiguration, but with restricted set of properties.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static longDFLT_SYS_REG_INIT_SIZEDefault initial size in bytes of a memory chunk for the system cache (40 MB).static longDFLT_SYS_REG_MAX_SIZEDefault max size in bytes of a memory chunk for the system cache (100 MB).
 - 
Constructor SummaryConstructors Constructor Description SystemDataRegionConfiguration()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetInitialSize()Initial size of a data region reserved for system cache.longgetMaxSize()Maximum data region size in bytes reserved for system cache.SystemDataRegionConfigurationsetInitialSize(long initSize)Sets initial size of a data region reserved for system cache.SystemDataRegionConfigurationsetMaxSize(long maxSize)Sets maximum data region size in bytes reserved for system cache.
 
- 
- 
- 
Field Detail- 
DFLT_SYS_REG_INIT_SIZEpublic static final long DFLT_SYS_REG_INIT_SIZE Default initial size in bytes of a memory chunk for the system cache (40 MB).- See Also:
- Constant Field Values
 
 - 
DFLT_SYS_REG_MAX_SIZEpublic static final long DFLT_SYS_REG_MAX_SIZE Default max size in bytes of a memory chunk for the system cache (100 MB).- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getInitialSizepublic long getInitialSize() Initial size of a data region reserved for system cache.- Returns:
- Size in bytes.
 
 - 
setInitialSizepublic SystemDataRegionConfiguration setInitialSize(long initSize) Sets initial size of a data region reserved for system cache. Default value isDFLT_SYS_REG_INIT_SIZE- Parameters:
- initSize- Size in bytes.
- Returns:
- thisfor chaining.
 
 - 
getMaxSizepublic long getMaxSize() Maximum data region size in bytes reserved for system cache.- Returns:
- Size in bytes.
 
 - 
setMaxSizepublic SystemDataRegionConfiguration setMaxSize(long maxSize) Sets maximum data region size in bytes reserved for system cache. The total size should not be less than 10 MB due to internal data structures overhead. Default value isDFLT_SYS_REG_MAX_SIZE.- Parameters:
- maxSize- Maximum size in bytes for system cache data region.
- Returns:
- thisfor chaining.
 
 
- 
 
-