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. |
affinityKeyPropertyName, ignite, reset
public 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 AffinityKeyMapper
affinityKey
in class GridCacheDefaultAffinityKeyMapper
key
- Key to get affinity key for.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017