| Package | Description |
|---|---|
| org.gridgain.grid.cache |
Contains main Data Grid APIs.
|
| org.gridgain.grid.cache.affinity.consistenthash |
Contains consistent hash based cache affinity for partitioned cache.
|
| org.gridgain.grid.cache.affinity.fair |
Contains fair cache affinity for partitioned cache.
|
| org.gridgain.grid.cache.affinity.rendezvous |
Contains HRW-based cache affinity for partitioned cache.
|
| org.gridgain.grid.kernal.processors.affinity |
Data affinity processor.
|
| org.gridgain.grid.kernal.processors.cache |
| Modifier and Type | Method and Description |
|---|---|
GridCacheAffinityFunction |
GridCacheConfiguration.getAffinity()
Gets key topology resolver to provide mapping from keys to nodes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheConfiguration.setAffinity(GridCacheAffinityFunction aff)
Sets affinity for cache keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridCacheConsistentHashAffinityFunction
Affinity function for partitioned cache.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridCachePartitionFairAffinity
Fair affinity function which tries to ensure that all nodes get equal number of partitions with
minimum amount of reassignments between existing nodes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridCacheRendezvousAffinityFunction
Affinity function for partitioned cache based on Highest Random Weight algorithm.
|
| Constructor and Description |
|---|
GridAffinityAssignmentCache(GridCacheContext ctx,
String cacheName,
GridCacheAffinityFunction aff,
GridCacheAffinityKeyMapper affMapper,
int backups)
Constructs affinity cached calculations.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheAffinityFunction |
GridCachePreloaderAdapter.aff
Affinity.
|
Copyright © 2014. All rights reserved.