## Uses of Interface
org.apache.ignite.cache.affinity.AffinityFunction

- Packages that use AffinityFunction
  Package | Description
  --- | ---
  org.apache.ignite.cache.affinity.rendezvous | Contains HRW-based cache affinity for partitioned cache.
  org.apache.ignite.configuration | Contains configuration-related classes.
  org.apache.ignite.ml.dataset.impl.cache.util | Contains util classes used in cache based implementation of dataset.
  org.apache.ignite.platform.dotnet | Contains .Net platform-related classes.

- - ### Uses of AffinityFunction in org.apache.ignite.cache.affinity.rendezvous

    Classes in org.apache.ignite.cache.affinity.rendezvous that implement AffinityFunction
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RendezvousAffinityFunction` Affinity function for partitioned cache based on Highest Random Weight algorithm.

  - ### Uses of AffinityFunction in org.apache.ignite.configuration

    Methods in org.apache.ignite.configuration that return AffinityFunction
    Modifier and Type | Method and Description
    --- | ---
    `AffinityFunction` | CacheConfiguration.`getAffinity()` Gets key topology resolver to provide mapping from keys to nodes.
    `AffinityFunction` | AtomicConfiguration.`getAffinity()` Gets atomic cache affinity function.

    Methods in org.apache.ignite.configuration with parameters of type AffinityFunction
    Modifier and Type | Method and Description
    --- | ---
    `CacheConfiguration<K,V>` | CacheConfiguration.`setAffinity(AffinityFunction aff)` Sets affinity for cache keys.
    `AtomicConfiguration` | AtomicConfiguration.`setAffinity(AffinityFunction aff)` Sets atomic cache affinity function.

  - ### Uses of AffinityFunction in org.apache.ignite.ml.dataset.impl.cache.util

    Classes in org.apache.ignite.ml.dataset.impl.cache.util that implement AffinityFunction
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DatasetAffinityFunctionWrapper` Affinity function wrapper that uses key as a partition index and delegates all other functions to specified delegate.

    Constructors in org.apache.ignite.ml.dataset.impl.cache.util with parameters of type AffinityFunction
    Constructor and Description
    `DatasetAffinityFunctionWrapper(AffinityFunction delegate)` Constructs a new instance of affinity function wrapper.

  - ### Uses of AffinityFunction in org.apache.ignite.platform.dotnet

    Classes in org.apache.ignite.platform.dotnet that implement AffinityFunction
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PlatformDotNetAffinityFunction` AffinityFunction implementation which can be used to configure .NET affinity function in Java Spring configuration.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.12.0
Release Date | : January 10 2022