[11/11] ignite git commit: IGNITE-6030 Allow enabling persistence per data region
IGNITE-6030 Allow enabling persistence per data region Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/74567763 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/74567763 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/74567763 Branch: refs/heads/ignite-2.3 Commit: 745677631d260cb51cb601ae38af8528aa5d5c66 Parents: 008d870 Author: Ivan Rakov Authored: Fri Oct 20 10:29:57 2017 +0300 Committer: Alexey Goncharuk Committed: Fri Oct 20 10:33:19 2017 +0300 -- examples/config/example-data-regions.xml| 106 +++ examples/config/example-memory-policies.xml | 108 --- .../example-persistent-store.xml| 14 +- .../examples/datagrid/DataRegionsExample.java | 113 +++ .../datagrid/MemoryPoliciesExample.java | 114 --- .../ignite/examples/CacheExamplesSelfTest.java | 6 +- .../benchmarks/jmh/tree/BPlusTreeBenchmark.java | 8 +- .../DummyPersistenceCompatibilityTest.java | 8 +- .../org/apache/ignite/DataRegionMetrics.java| 119 +++ .../apache/ignite/DataRegionMetricsAdapter.java | 106 +++ .../org/apache/ignite/DataStorageMetrics.java | 114 +++ .../ignite/DataStorageMetricsAdapter.java | 101 +++ .../src/main/java/org/apache/ignite/Ignite.java | 48 +- .../apache/ignite/IgniteSystemProperties.java | 4 +- .../java/org/apache/ignite/MemoryMetrics.java | 11 +- .../org/apache/ignite/PersistenceMetrics.java | 4 +- .../configuration/CacheConfiguration.java | 36 +- .../configuration/DataPageEvictionMode.java | 8 +- .../configuration/DataRegionConfiguration.java | 406 + .../configuration/DataStorageConfiguration.java | 882 +++ .../configuration/IgniteConfiguration.java | 46 +- .../configuration/MemoryConfiguration.java | 9 +- .../MemoryPolicyConfiguration.java | 32 +- .../PersistentStoreConfiguration.java | 4 +- .../org/apache/ignite/igfs/IgfsMetrics.java | 4 +- .../apache/ignite/internal/IgniteKernal.java| 77 +- .../ignite/internal/IgniteNodeAttributes.java | 4 + .../org/apache/ignite/internal/IgnitionEx.java | 132 ++- .../ignite/internal/MarshallerContextImpl.java | 3 +- .../discovery/GridDiscoveryManager.java | 31 +- .../pagemem/impl/PageMemoryNoStoreImpl.java | 32 +- .../cache/CacheAffinitySharedManager.java | 4 +- .../processors/cache/CacheGroupContext.java | 29 +- .../processors/cache/CacheGroupData.java| 17 +- .../processors/cache/CacheGroupDescriptor.java | 19 +- .../processors/cache/ClusterCachesInfo.java | 13 +- .../processors/cache/GridCacheAdapter.java | 3 +- .../processors/cache/GridCacheContext.java | 8 +- .../processors/cache/GridCacheMapEntry.java | 10 +- .../processors/cache/GridCacheProcessor.java| 55 +- .../processors/cache/GridCacheUtils.java| 55 ++ .../cache/IgniteCacheOffheapManagerImpl.java| 6 +- .../cache/binary/BinaryMetadataFileStore.java | 7 +- .../GridDistributedTxRemoteAdapter.java | 5 +- .../distributed/dht/GridDhtLocalPartition.java | 2 +- .../dht/atomic/GridDhtAtomicCache.java | 3 +- .../distributed/near/GridNearGetRequest.java| 2 +- .../distributed/near/GridNearLockRequest.java | 2 +- .../cache/distributed/near/GridNearTxLocal.java | 2 +- .../near/GridNearTxPrepareRequest.java | 2 +- .../local/atomic/GridLocalAtomicCache.java | 2 +- .../cache/persistence/CacheDataRowAdapter.java | 2 +- .../cache/persistence/DataRegion.java | 84 ++ .../persistence/DataRegionMetricsImpl.java | 286 ++ .../DataRegionMetricsMXBeanImpl.java| 131 +++ .../persistence/DataRegionMetricsSnapshot.java | 112 +++ .../persistence/DataStorageMetricsImpl.java | 297 +++ .../persistence/DataStorageMetricsSnapshot.java | 144 +++ .../GridCacheDatabaseSharedManager.java | 166 ++-- .../persistence/GridCacheOffheapManager.java| 22 +- .../IgniteCacheDatabaseSharedManager.java | 538 +-- .../cache/persistence/MemoryMetricsImpl.java| 286 -- .../persistence/MemoryMetricsMXBeanImpl.java| 131 --- .../persistence/MemoryMetricsSnapshot.java | 112 --- .../cache/persistence/MemoryPolicy.java | 84 -- .../persistence/PersistenceMetricsImpl.java | 297 --- .../persistence/PersistenceMetricsSnapshot.java | 144 --- .../processors/cache/persistence/RowStore.java | 38 +- .../evict/FairFifoPageEvictionTracker.java | 6 +- .../evict/PageAbstractEvictionTracker.java | 6 +- .../evict/Random2LruPageEvictionTracker.java| 8 +- .../evict/RandomLruPageEvictionTracker.java | 8 +- .../persistence/file/AsyncFileIOFactory.java| 28 +- .../cache/persistence/file/FilePageStore.java | 6 +- .../persistence/fil
[11/11] ignite git commit: IGNITE-6030 Allow enabling persistence per data region
IGNITE-6030 Allow enabling persistence per data region Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ec41370c Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ec41370c Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ec41370c Branch: refs/heads/master Commit: ec41370c4da65c01e9b7c584e0706c40e4171b35 Parents: 173ecef Author: Ivan Rakov Authored: Fri Oct 20 10:29:57 2017 +0300 Committer: Alexey Goncharuk Committed: Fri Oct 20 10:29:57 2017 +0300 -- examples/config/example-data-regions.xml| 106 +++ examples/config/example-memory-policies.xml | 108 --- .../example-persistent-store.xml| 14 +- .../examples/datagrid/DataRegionsExample.java | 113 +++ .../datagrid/MemoryPoliciesExample.java | 114 --- .../ignite/examples/CacheExamplesSelfTest.java | 6 +- .../benchmarks/jmh/tree/BPlusTreeBenchmark.java | 8 +- .../DummyPersistenceCompatibilityTest.java | 8 +- .../org/apache/ignite/DataRegionMetrics.java| 119 +++ .../apache/ignite/DataRegionMetricsAdapter.java | 106 +++ .../org/apache/ignite/DataStorageMetrics.java | 114 +++ .../ignite/DataStorageMetricsAdapter.java | 101 +++ .../src/main/java/org/apache/ignite/Ignite.java | 48 +- .../apache/ignite/IgniteSystemProperties.java | 4 +- .../java/org/apache/ignite/MemoryMetrics.java | 11 +- .../org/apache/ignite/PersistenceMetrics.java | 4 +- .../configuration/CacheConfiguration.java | 36 +- .../configuration/DataPageEvictionMode.java | 8 +- .../configuration/DataRegionConfiguration.java | 406 + .../configuration/DataStorageConfiguration.java | 882 +++ .../configuration/IgniteConfiguration.java | 46 +- .../configuration/MemoryConfiguration.java | 9 +- .../MemoryPolicyConfiguration.java | 32 +- .../PersistentStoreConfiguration.java | 4 +- .../org/apache/ignite/igfs/IgfsMetrics.java | 4 +- .../apache/ignite/internal/IgniteKernal.java| 77 +- .../ignite/internal/IgniteNodeAttributes.java | 4 + .../org/apache/ignite/internal/IgnitionEx.java | 132 ++- .../ignite/internal/MarshallerContextImpl.java | 3 +- .../discovery/GridDiscoveryManager.java | 31 +- .../pagemem/impl/PageMemoryNoStoreImpl.java | 32 +- .../cache/CacheAffinitySharedManager.java | 4 +- .../processors/cache/CacheGroupContext.java | 29 +- .../processors/cache/CacheGroupData.java| 17 +- .../processors/cache/CacheGroupDescriptor.java | 19 +- .../processors/cache/ClusterCachesInfo.java | 13 +- .../processors/cache/GridCacheAdapter.java | 3 +- .../processors/cache/GridCacheContext.java | 8 +- .../processors/cache/GridCacheMapEntry.java | 10 +- .../processors/cache/GridCacheProcessor.java| 55 +- .../processors/cache/GridCacheUtils.java| 55 ++ .../cache/IgniteCacheOffheapManagerImpl.java| 6 +- .../cache/binary/BinaryMetadataFileStore.java | 7 +- .../GridDistributedTxRemoteAdapter.java | 5 +- .../distributed/dht/GridDhtLocalPartition.java | 2 +- .../dht/atomic/GridDhtAtomicCache.java | 3 +- .../distributed/near/GridNearGetRequest.java| 2 +- .../distributed/near/GridNearLockRequest.java | 2 +- .../cache/distributed/near/GridNearTxLocal.java | 2 +- .../near/GridNearTxPrepareRequest.java | 2 +- .../local/atomic/GridLocalAtomicCache.java | 2 +- .../cache/persistence/CacheDataRowAdapter.java | 2 +- .../cache/persistence/DataRegion.java | 84 ++ .../persistence/DataRegionMetricsImpl.java | 286 ++ .../DataRegionMetricsMXBeanImpl.java| 131 +++ .../persistence/DataRegionMetricsSnapshot.java | 112 +++ .../persistence/DataStorageMetricsImpl.java | 297 +++ .../persistence/DataStorageMetricsSnapshot.java | 144 +++ .../GridCacheDatabaseSharedManager.java | 166 ++-- .../persistence/GridCacheOffheapManager.java| 22 +- .../IgniteCacheDatabaseSharedManager.java | 538 +-- .../cache/persistence/MemoryMetricsImpl.java| 286 -- .../persistence/MemoryMetricsMXBeanImpl.java| 131 --- .../persistence/MemoryMetricsSnapshot.java | 112 --- .../cache/persistence/MemoryPolicy.java | 84 -- .../persistence/PersistenceMetricsImpl.java | 297 --- .../persistence/PersistenceMetricsSnapshot.java | 144 --- .../processors/cache/persistence/RowStore.java | 38 +- .../evict/FairFifoPageEvictionTracker.java | 6 +- .../evict/PageAbstractEvictionTracker.java | 6 +- .../evict/Random2LruPageEvictionTracker.java| 8 +- .../evict/RandomLruPageEvictionTracker.java | 8 +- .../persistence/file/AsyncFileIOFactory.java| 28 +- .../cache/persistence/file/FilePageStore.java | 6 +- .../persistence/file/Fi