## Uses of Class
org.apache.ignite.configuration.DataStorageConfiguration

- Packages that use DataStorageConfiguration
  Package | Description
  --- | ---
  org.apache.ignite.configuration | Contains configuration-related classes.

- - ### Uses of DataStorageConfiguration in org.apache.ignite.configuration

    Methods in org.apache.ignite.configuration that return DataStorageConfiguration
    Modifier and Type | Method | 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.`setCdcWalDirectoryMaxSize​(long cdcWalDirMaxSize)` | Sets the CDC directory maximum size in bytes.
    `DataStorageConfiguration` | DataStorageConfiguration.`setCdcWalPath​(String cdcWalPath)` | Sets a path for the CDC directory.
    `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.`setCheckpointRecoveryDataCompression​(DiskPageCompression cpRecoveryDataCompression)` | Sets compression algorithm for checkpoint recovery data.
    `DataStorageConfiguration` | DataStorageConfiguration.`setCheckpointRecoveryDataCompressionLevel​(Integer cpRecoveryDataCompressionLevel)` | Sets `setCheckpointRecoveryDataCompression(DiskPageCompression)` algorithm specific compression level.
    `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 has been created automatically.
    `DataStorageConfiguration` | DataStorageConfiguration.`setDefaultWarmUpConfiguration​(@Nullable WarmUpConfiguration dfltWarmUpCfg)` | Sets default warm-up configuration.
    `DataStorageConfiguration` | DataStorageConfiguration.`setDefragmentationThreadPoolSize​(int defragmentationThreadPoolSize)` | Sets maximum number of partitions which can be defragmented at the same time.
    `DataStorageConfiguration` | DataStorageConfiguration.`setEncryptionConfiguration​(EncryptionConfiguration encCfg)` | Sets encryption configuration.
    `DataStorageConfiguration` | DataStorageConfiguration.`setExtraSnapshotPaths​(String... extraSnapshotPaths)` | Sets a paths to the root directories where the snapshot files stored.
    `DataStorageConfiguration` | DataStorageConfiguration.`setExtraStoragePaths​(String... extraStoragePaths)` | Sets a paths to the root directories where the Persistent Store can persist data and indexes.
    `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(in bytes) of WAL archives.
    `DataStorageConfiguration` | DataStorageConfiguration.`setMemoryAllocator​(MemoryAllocator allocator)` | Sets default memory allocator for all memory regions.
    `DataStorageConfiguration` | DataStorageConfiguration.`setMetricsEnabled​(boolean metricsEnabled)` | Deprecated. Will be removed in upcoming releases.
    `DataStorageConfiguration` | DataStorageConfiguration.`setMetricsRateTimeInterval​(long metricsRateTimeInterval)` | Deprecated. Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
    `DataStorageConfiguration` | DataStorageConfiguration.`setMetricsSubIntervalCount​(int metricsSubIntervalCnt)` | Deprecated. Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
    `DataStorageConfiguration` | DataStorageConfiguration.`setMinWalArchiveSize​(long walArchiveMinSize)` | Sets a min allowed size(in bytes) of WAL archives.
    `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.`setSystemDataRegionConfiguration​(SystemDataRegionConfiguration sysDataRegConf)` | Overrides configuration of system data region which has been created automatically.
    `DataStorageConfiguration` | DataStorageConfiguration.`setSystemRegionInitialSize​(long sysRegionInitSize)` | Deprecated. use `SystemDataRegionConfiguration.setInitialSize(long)`.
    `DataStorageConfiguration` | DataStorageConfiguration.`setSystemRegionMaxSize​(long sysRegionMaxSize)` | Deprecated. use `SystemDataRegionConfiguration.setMaxSize(long)`.
    `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)` | Property defines size(in bytes) of WAL buffer.
    `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.`setWalForceArchiveTimeout​(long walForceArchiveTimeout)` |
    `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.`setWalPageCompression​(DiskPageCompression walPageCompression)` | Sets compression algorithm for WAL page snapshot records.
    `DataStorageConfiguration` | DataStorageConfiguration.`setWalPageCompressionLevel​(Integer walPageCompressionLevel)` | Sets `algorithm` specific page compression level.
    `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(in bytes) of a WAL segment.
    `DataStorageConfiguration` | DataStorageConfiguration.`setWalThreadLocalBufferSize​(int walTlbSize)` | Sets size of thread local buffer.
    `DataStorageConfiguration` | DataStorageConfiguration.`setWriteRecoveryDataOnCheckpoint​(boolean writeRecoveryDataOnCheckpoint)` | Sets mode for storing page recovery data.
    `DataStorageConfiguration` | DataStorageConfiguration.`setWriteThrottlingEnabled​(boolean writeThrottlingEnabled)` | Sets flag indicating whether write throttling is enabled.

    Methods in org.apache.ignite.configuration with parameters of type DataStorageConfiguration
    Modifier and Type | Method | Description
    --- | --- | ---
    `IgniteConfiguration` | IgniteConfiguration.`setDataStorageConfiguration​(DataStorageConfiguration dsCfg)` | Sets durable memory configuration.