public class CacheDefaultBinaryAffinityKeyMapper extends GridCacheDefaultAffinityKeyMapper
ignite, log| Constructor and Description |
|---|
CacheDefaultBinaryAffinityKeyMapper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
affinityKey(Object key)
If key class has annotation
AffinityKeyMapped,
then the value of annotated method or field will be used to get affinity value instead
of the key itself. |
void |
ignite(Ignite ignite) |
resetpublic Object affinityKey(Object key)
AffinityKeyMapped,
then the value of annotated method or field will be used to get affinity value instead
of the key itself. If there is no annotation, then the key is returned as is.affinityKey in interface AffinityKeyMapperaffinityKey in class GridCacheDefaultAffinityKeyMapperkey - Key to get affinity key for.public void ignite(Ignite ignite)
ignite in class GridCacheDefaultAffinityKeyMapperignite - Ignite.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016