Package | Description |
---|---|
org.apache.ignite.configuration |
Contains configuration-related classes.
|
Modifier and Type | Method and Description |
---|---|
DataStorageConfiguration |
IgniteConfiguration.getDataStorageConfiguration()
Gets page memory configuration.
|
DataStorageConfiguration |
DataStorageConfiguration.setAlwaysWriteFullPages(boolean alwaysWriteFullPages)
Sets flag that enforces writing full page to WAL on every change (instead of delta record).
|
DataStorageConfiguration |
DataStorageConfiguration.setCheckpointFrequency(long checkpointFreq)
Sets the checkpoint frequency which is a minimal interval when the dirty pages will be written
to the Persistent Store.
|
DataStorageConfiguration |
DataStorageConfiguration.setCheckpointReadLockTimeout(long checkpointReadLockTimeout)
Sets timeout for checkpoint read lock acquisition.
|
DataStorageConfiguration |
DataStorageConfiguration.setCheckpointThreads(int checkpointThreads)
Sets a number of threads to use for the checkpoint purposes.
|
DataStorageConfiguration |
DataStorageConfiguration.setCheckpointWriteOrder(CheckpointWriteOrder checkpointWriteOrder)
This property defines order of writing pages to disk storage during checkpoint.
|
DataStorageConfiguration |
DataStorageConfiguration.setConcurrencyLevel(int concLvl)
Sets the number of concurrent segments in Ignite internal page mapping tables.
|
DataStorageConfiguration |
DataStorageConfiguration.setDataRegionConfigurations(DataRegionConfiguration... dataRegionConfigurations)
Sets data regions configurations.
|
DataStorageConfiguration |
DataStorageConfiguration.setDefaultDataRegionConfiguration(DataRegionConfiguration dfltDataRegConf)
Overrides configuration of default data region which is created automatically.
|
DataStorageConfiguration |
DataStorageConfiguration.setFileIOFactory(org.apache.ignite.internal.processors.cache.persistence.file.FileIOFactory fileIOFactory)
Sets factory to provide implementation of FileIO interface
which is used for data storage files read/write operations
|
DataStorageConfiguration |
DataStorageConfiguration.setLockWaitTime(long lockWaitTime)
Timeout in milliseconds to wait when acquiring persistence store lock file before failing the local node.
|
DataStorageConfiguration |
DataStorageConfiguration.setMaxWalArchiveSize(long walArchiveMaxSize)
Sets a max allowed size of WAL archives.
|
DataStorageConfiguration |
DataStorageConfiguration.setMetricsEnabled(boolean metricsEnabled)
Sets flag indicating whether persistence metrics collection is enabled.
|
DataStorageConfiguration |
DataStorageConfiguration.setMetricsRateTimeInterval(long metricsRateTimeInterval)
Sets the length of the time interval for rate-based metrics.
|
DataStorageConfiguration |
DataStorageConfiguration.setMetricsSubIntervalCount(int metricsSubIntervalCnt)
Sets the number of sub-intervals to split the
getMetricsRateTimeInterval() into to track the update history. |
DataStorageConfiguration |
DataStorageConfiguration.setPageSize(int pageSize)
Changes the page size.
|
DataStorageConfiguration |
DataStorageConfiguration.setStoragePath(String persistenceStorePath)
Sets a path to the root directory where the Persistent Store will persist data and indexes.
|
DataStorageConfiguration |
DataStorageConfiguration.setSystemRegionInitialSize(long sysRegionInitSize)
Sets initial size of a data region reserved for system cache.
|
DataStorageConfiguration |
DataStorageConfiguration.setSystemRegionMaxSize(long sysRegionMaxSize)
Sets maximum data region size reserved for system cache.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalArchivePath(String walArchivePath)
Sets a path for the WAL archive directory.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalAutoArchiveAfterInactivity(long walAutoArchiveAfterInactivity)
Note: setting this value with
WALMode.FSYNC may generate file size overhead for WAL segments in case
grid is used rarely. |
DataStorageConfiguration |
DataStorageConfiguration.setWalBufferSize(int walBuffSize) |
DataStorageConfiguration |
DataStorageConfiguration.setWalCompactionEnabled(boolean walCompactionEnabled)
Sets flag indicating whether WAL compaction is enabled.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalFlushFrequency(long walFlushFreq)
This property define how often WAL will be fsync-ed in
BACKGROUND mode. |
DataStorageConfiguration |
DataStorageConfiguration.setWalFsyncDelayNanos(long walFsyncDelayNanos)
Sets property that allows to trade latency for throughput in
WALMode.FSYNC mode. |
DataStorageConfiguration |
DataStorageConfiguration.setWalHistorySize(int walHistSize)
Deprecated.
Instead of walHistorySize use maxWalArchiveSize for manage of archive size.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalMode(WALMode walMode)
Sets property that defines behavior of wal fsync.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalPath(String walStorePath)
Sets a path to the directory where WAL is stored.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalRecordIteratorBufferSize(int walRecordIterBuffSize)
Sets property defining how many bytes iterator read from
disk (for one reading), during go ahead wal.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalSegments(int walSegments)
Sets a number of WAL segments to work with.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalSegmentSize(int walSegmentSize)
Sets size of a WAL segment.
|
DataStorageConfiguration |
DataStorageConfiguration.setWalThreadLocalBufferSize(int walTlbSize)
Sets size of thread local buffer.
|
DataStorageConfiguration |
DataStorageConfiguration.setWriteThrottlingEnabled(boolean writeThrottlingEnabled)
Sets flag indicating whether write throttling is enabled.
|
Modifier and Type | Method and Description |
---|---|
IgniteConfiguration |
IgniteConfiguration.setDataStorageConfiguration(DataStorageConfiguration dsCfg)
Sets durable memory configuration.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019