Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • TcpDiscoveryS3IpFinder.setAwsCredentials(AWSCredentialsProvider) renamed to TcpDiscoveryS3IpFinder.setAwsCredentialsProvider(AWSCredentialsProvider)

...

Eviction Policies

  • Existing eviction mechanism based on EvictionPolicy is now supported only in near and onheap caches.
  • To enable eviction in regular cache, choose one of page-based eviction algorithms with MemoryPolicyConfiguration#setPageEvictionMode. More info about page-based eviction can be found in javadocs of MemoryPolicyConfiguration and DataPageEvictionMode.

...

  • All the cache memory modes, previously defined by CacheMemoryMode, are no longer supported. Off-heap mode that is a basis of the new page memory is used by default.
  • CachePeekMode.SWAP is no longer supported as well as SwapSpaceSPI.

Memory Policies

Managing of memory regions where caches store their data is done via MemoryConfiguration and MemoryPolicyConfiguration entities; detailed information is presented in javadocs of these classes. Also MemoryPoliciesExample provides some sample configurations on this topic.

IgniteConfiguration

getGridName/setGridName declared deprecated and getIgniteInstanceName/setIgniteInstanceName should be used instead.

Cache and Memory Metrics

The following methods were removed from CacheMetrics interface as part of migrating to new memory management architecture: getOverflowSize, getOffHeapMaxSize, getSwapGets, getSwapPuts, getSwapRemovals, getSwapHits, getSwapMisses, getSwapEntriesCount, getSwapSize, getSwapHitPercentage, getSwapMissPercentage.

New MemoryMetrics interface was introduced to monitor off-heap memory consumption and usage. More information about its usage is available in javadoc on this class.

Redis Integration

Default Redis cache name was changed from 'null' to 'redis_cache'.

...