...
Look over the documentation above to learn more about new concepts and configuration parameters. The sections below list APIs existed prior to 2.0 and that was reworked in the latest version.
Previously existed eviction mechanisms based on `EvictionPolicy` is now supported only for optional near and Java heap caching of the data stored in the off-heap page memory. To enable the eviction for the page memory, use `DataPageEvictionMode` enumeration. Refer to this documentation for more details: https://apacheignite.readme.io/docs/evictions
Cache and Memory Metrics
The following methods were removed from `CacheMetrics` interface as part of a migration to the off-heap memory architecture: getOverflowSize, getOffHeapMaxSize, getSwapGets, getSwapPuts, getSwapRemovals, getSwapHits, getSwapMisses, getSwapEntriesCount, getSwapSize, getSwapHitPercentage, getSwapMissPercentage.
To support the new memory architecture, `MemoryMetrics` interface was introduced in order to get insights on a state and behavior of the memory in runtime. Refer to this documentation if you plan to leverage from this interface: https://apacheignite.readme.io/docs/memory-metrics
`null` can no longer be used as a cache name. If a cache is started with an empty named then it will be named `default` and you can get it using either `Ignite.cache(null)` or `Ignite.cache("default")` calls.
`FairAffinityFunction` was discontinued and removed from the API level due. Use `RendezvousAffinityFunction` instead (enabled by default).
IgniteConfiguration's `getGridName/setGridName` methods are deprecated and will be removed in later releases. Use IgniteConfiguration's `getIgniteInstanceName/setIgniteInstanceName` instead.
...
...
Enumeration has been removed due to new Ignite page memory architecture [1]. Offheap is used as the main storage tier with an ability to enable Java heap caching via CacheConfiguration.onheapCacheEnabled
property.
name
- null
name is no longer allowedmetaCacheName
- removed, use metaCacheConfiguration
dataCacheName
- removed, use dataCacheConfiguration
streamBufferSize
- renamed to bufferSize
maxSpace
- removed, maximum memory is now controlled through MemoryPolicy
[1]initializeDefaultPathModes
- removedtrashPurgeTimeout
- removedfragmentizerLocWritesRatio
- removed dualModePutExecutorService
- removeddualModePutExecutorServiceShutdown
- removeddualModeMaxPendingPutsSize
- removed...
evictSynchronized
evictSynchronizedKeyBufferSize
evictSynchronizedConcurrencyLevel
evictSynchronizedTimeout
evictMaxOverflowRatio
memoryMode
offHeapMaxMemory
snapshotableIndex
sqlOnheapRowCacheSize
startSize
swapEnabled
Previously existed eviction mechanisms based on EvictionPolicy
is now supported only for optional near and Java heap caching of the data stored in the offheap page memory. To enable the eviction for the page memory, use DataPageEvictionMode
enumeration. See documentation [2] for more details.
Schema import utility - ?
...
[1] https://apacheignite.readme.io/docs/page-memory
[2] https://apacheignite.readme.io/docs/evictions