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

Packages that use DataStorageConfiguration
org.apache.ignite.configuration: Contains configuration-related classes.
org.apache.ignite.internal.processors.cache: This package contain cache-related processors & persistence implementation.
org.apache.ignite.internal.processors.cache.persistence: This package contain cache with persistence implementation.
org.apache.ignite.internal.processors.cache.persistence.checkpoint
org.apache.ignite.internal.processors.cache.persistence.wal
org.apache.ignite.internal.processors.cache.persistence.wal.filehandle
org.apache.ignite.internal.util: System-wide utility routine and helper classes.
org.apache.ignite.internal.visor.node

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

Methods in org.apache.ignite.configuration that return DataStorageConfiguration
`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.`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.`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.`setFileIOFactory(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)` Sets flag indicating whether persistence metrics collection is enabled.
`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.`setWriteThrottlingEnabled(boolean writeThrottlingEnabled)` Sets flag indicating whether write throttling is enabled.

Methods in org.apache.ignite.configuration with parameters of type DataStorageConfiguration
`IgniteConfiguration` IgniteConfiguration.`setDataStorageConfiguration(DataStorageConfiguration dsCfg)` Sets durable memory configuration.

### Uses of DataStorageConfiguration in org.apache.ignite.internal.processors.cache

Methods in org.apache.ignite.internal.processors.cache that return DataStorageConfiguration
`static @Nullable DataStorageConfiguration` GridCacheUtils.`extractDataStorage(ClusterNode node, JdkMarshaller marshaller, ClassLoader clsLdr)` Extract and unmarshal data storage configuration from given node.

Methods in org.apache.ignite.internal.processors.cache with parameters of type DataStorageConfiguration
`static @Nullable DataRegionConfiguration` GridCacheUtils.`findDataRegion(DataStorageConfiguration dsCfg, String drName)` Finds data region by name.
`static @Nullable DataRegionConfiguration` GridCacheUtils.`findDataRegionConfiguration(@Nullable DataStorageConfiguration dsCfg, @Nullable String name)` Finds and returns a data region configuration with the specified name.
`static boolean` GridCacheUtils.`isDefaultDataRegionPersistent(DataStorageConfiguration cfg)`
`static boolean` GridCacheUtils.`isPersistenceEnabled(DataStorageConfiguration cfg)`
`static boolean` GridCacheUtils.`isPersistentCache(CacheConfiguration ccfg, DataStorageConfiguration dsCfg)` Checks if cache configuration belongs to persistent cache.

### Uses of DataStorageConfiguration in org.apache.ignite.internal.processors.cache.persistence

Methods in org.apache.ignite.internal.processors.cache.persistence with parameters of type DataStorageConfiguration
`DataRegion` IgniteCacheDatabaseSharedManager.`addDataRegion(DataStorageConfiguration dataStorageCfg, DataRegionConfiguration dataRegionCfg, boolean trackable)`
`DataRegion` GridCacheDatabaseSharedManager.`addDataRegion(DataStorageConfiguration dataStorageCfg, DataRegionConfiguration dataRegionCfg, boolean trackable, PageReadWriteManager pmPageMgr)`
`protected DataRegion` IgniteCacheDatabaseSharedManager.`addDataRegion(DataStorageConfiguration dataStorageCfg, DataRegionConfiguration dataRegionCfg, boolean trackable, PageReadWriteManager pmPageMgr)`
`protected void` GridCacheDatabaseSharedManager.`checkPageSize(DataStorageConfiguration memCfg)`
`protected void` IgniteCacheDatabaseSharedManager.`checkPageSize(DataStorageConfiguration memCfg)`
`protected void` GridCacheDatabaseSharedManager.`checkRegionEvictionProperties(DataRegionConfiguration regCfg, DataStorageConfiguration dbCfg)`
`protected void` IgniteCacheDatabaseSharedManager.`checkRegionEvictionProperties(DataRegionConfiguration regCfg, DataStorageConfiguration dbCfg)`
`protected PageMemory` GridCacheDatabaseSharedManager.`createPageMemory(DirectMemoryProvider memProvider, DataStorageConfiguration memCfg, DataRegionConfiguration plcCfg, DataRegionMetricsImpl memMetrics, boolean trackable, PageReadWriteManager pmPageMgr)` Creates PageMemory with given size and memory provider.
`protected PageMemory` IgniteCacheDatabaseSharedManager.`createPageMemory(DirectMemoryProvider memProvider, DataStorageConfiguration memCfg, DataRegionConfiguration memPlcCfg, DataRegionMetricsImpl memMetrics, boolean trackable, PageReadWriteManager pmPageMgr)` Creates PageMemory with given size and memory provider.
`protected void` IgniteCacheDatabaseSharedManager.`initAndStartRegions(DataStorageConfiguration cfg)`
`protected void` GridCacheDatabaseSharedManager.`initDataRegions(DataStorageConfiguration memCfg)`
`protected void` IgniteCacheDatabaseSharedManager.`initDataRegions(DataStorageConfiguration memCfg)`
`protected void` GridCacheDatabaseSharedManager.`initDataRegions0(DataStorageConfiguration memCfg)`
`protected void` IgniteCacheDatabaseSharedManager.`initDataRegions0(DataStorageConfiguration memCfg)`
`protected void` IgniteCacheDatabaseSharedManager.`initPageMemoryDataStructures(DataStorageConfiguration dbCfg)`

### Uses of DataStorageConfiguration in org.apache.ignite.internal.processors.cache.persistence.checkpoint

Constructors in org.apache.ignite.internal.processors.cache.persistence.checkpoint with parameters of type DataStorageConfiguration
Constructor and Description

`CheckpointManager(Function<Class<?>,IgniteLogger> logger, String igniteInstanceName, String checkpointThreadName, IgniteWriteAheadLogManager wal, WorkersRegistry workersRegistry, DataStorageConfiguration persistenceCfg, FilePageStoreManager pageStoreManager, IgniteThrowableBiPredicate<Long,Integer> checkpointInapplicableChecker, Supplier<Collection<DataRegion>> dataRegions, Supplier<Collection<CacheGroupContext>> cacheGroupContexts, IgniteThrowableFunction<Integer,PageMemoryEx> pageMemoryGroupResolver, PageMemoryImpl.ThrottlingPolicy throttlingPolicy, IgniteCacheSnapshotManager snapshotMgr, DataStorageMetricsImpl persStoreMetrics, LongJVMPauseDetector longJvmPauseDetector, FailureProcessor failureProcessor, GridCacheProcessor cacheProcessor, Supplier<Integer> cpFreqDeviation, Executor checkpointMapSnapshotExecutor)`

`LightweightCheckpointManager(Function<Class<?>,IgniteLogger> logger, String igniteInstanceName, String checkpointThreadName, WorkersRegistry workersRegistry, DataStorageConfiguration persistenceCfg, Supplier<Collection<DataRegion>> dataRegions, IgniteThrowableFunction<Integer,PageMemoryEx> pageMemoryGroupResolver, PageMemoryImpl.ThrottlingPolicy throttlingPolicy, IgniteCacheSnapshotManager snapshotMgr, DataStorageMetricsImpl persStoreMetrics, LongJVMPauseDetector longJvmPauseDetector, FailureProcessor failureProcessor, GridCacheProcessor cacheProcessor)`

### Uses of DataStorageConfiguration in org.apache.ignite.internal.processors.cache.persistence.wal

Constructors in org.apache.ignite.internal.processors.cache.persistence.wal with parameters of type DataStorageConfiguration
Constructor and Description
`SegmentRouter(File walWorkDir, File walArchiveDir, SegmentAware segmentAware, DataStorageConfiguration dsCfg)`

### Uses of DataStorageConfiguration in org.apache.ignite.internal.processors.cache.persistence.wal.filehandle

Constructors in org.apache.ignite.internal.processors.cache.persistence.wal.filehandle with parameters of type DataStorageConfiguration
Constructor and Description
`FileHandleManagerFactory(DataStorageConfiguration conf)`

### Uses of DataStorageConfiguration in org.apache.ignite.internal.util

Methods in org.apache.ignite.internal.util with parameters of type DataStorageConfiguration
`static long` IgniteUtils.`adjustedWalHistorySize(DataStorageConfiguration dsCfg, @Nullable IgniteLogger log)` Calculates maximum WAL archive size based on maximum checkpoint buffer size, if the default value of `getMaxWalArchiveSize()` is not overridden.

### Uses of DataStorageConfiguration in org.apache.ignite.internal.visor.node

Constructors in org.apache.ignite.internal.visor.node with parameters of type DataStorageConfiguration
Constructor and Description
`VisorDataStorageConfiguration(DataStorageConfiguration cfg)` Constructor.
`VisorMemoryConfiguration(DataStorageConfiguration memCfg)` Create data transfer object.
`VisorPersistentStoreConfiguration(DataStorageConfiguration cfg)`

${current.year} Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Database and Caching Platform | : ver. 2.14.0
Release Date | : September 29 2022