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

Packages that use AffinityFunction
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.internal.processors.affinity: Data affinity processor.
org.apache.ignite.internal.processors.cache
org.apache.ignite.internal.processors.platform.cache.affinity
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
`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
`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
`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.internal.processors.affinity

Methods in org.apache.ignite.internal.processors.affinity with parameters of type AffinityFunction
`Object` GridAffinityProcessor.`similaryAffinityKey(AffinityFunction aff, IgnitePredicate<ClusterNode> nodeFilter, int backups, int parts)`

Constructors in org.apache.ignite.internal.processors.affinity with parameters of type AffinityFunction
Constructor and Description
`GridAffinityAssignmentCache(GridKernalContext ctx, String cacheOrGrpName, int grpId, AffinityFunction aff, IgnitePredicate<ClusterNode> nodeFilter, int backups, boolean locCache, boolean persistentCache)` Constructs affinity cached calculations.

### Uses of AffinityFunction in org.apache.ignite.internal.processors.cache

Methods in org.apache.ignite.internal.processors.cache that return AffinityFunction
`AffinityFunction` CacheGroupContext.`affinityFunction()`

### Uses of AffinityFunction in org.apache.ignite.internal.processors.platform.cache.affinity

Classes in org.apache.ignite.internal.processors.platform.cache.affinity that implement AffinityFunction
`class` `PlatformAffinityFunction` Platform AffinityFunction.

Methods in org.apache.ignite.internal.processors.platform.cache.affinity that return AffinityFunction
`AffinityFunction` PlatformAffinityFunction.`getBaseFunc()` Gets the base func.

Constructors in org.apache.ignite.internal.processors.platform.cache.affinity with parameters of type AffinityFunction
Constructor and Description
`PlatformAffinityFunction(Object func, int partitions, byte overrideFlags, AffinityFunction baseFunc)` Ctor.
`PlatformAffinityFunctionTarget(PlatformContext platformCtx, AffinityFunction baseFunc)` Constructor.

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

Classes in org.apache.ignite.platform.dotnet that implement AffinityFunction
`class` `PlatformDotNetAffinityFunction` AffinityFunction implementation which can be used to configure .NET affinity function in Java Spring configuration.

2018 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 2.4.0
Release Date | : March 5 2018