You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The guide contains a list APIs that were deprecated or removed in Apache Ignite 2.0 and provides alternate APIs which you can use to migrate to from the deprecated or removed ones. 

TcpDiscoveryS3IpFinder
  • TcpDiscoveryS3IpFinder.setAwsCredentials(AWSCredentialsProvider) renamed to TcpDiscoveryS3IpFinder.setAwsCredentialsProvider(AWSCredentialsProvider)
Evcition Policies
  • Existing eviction mechanism based on EvictionPolicy is now supported only in near and onheap caches.
  • To enable eviction in regural 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.

Ignite.NET

  • CompiledQuery class removed, CompiledQuery2 class renamed to CompiledQuery. If you have used CompiledQuery class, there is nothing to change. Exising code should compile. If you have used CompiledQuery2 class, rename usages to CompiledQuery.
  • CacheEvent.LockId has been removed. It was always null previously.

Dynamic Type Registration, Serializable Types

BinaryConfiguration is no longer required: any type can be used in Cache and Compute straight away. All objects are written in Ignite binary format (which means IBinary and SQL APIs always work).

Serializable types (including those which implement ISerializable) are also written using Ignite binary format.

  • No labels