public class CacheKeyConfiguration extends Object implements Serializable
Constructor and Description |
---|
CacheKeyConfiguration()
Creates an empty cache key configuration that should be populated via setters.
|
CacheKeyConfiguration(Class keyCls) |
CacheKeyConfiguration(String typeName,
String affKeyFieldName)
Creates cache key configuration with given type name and affinity field name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAffinityKeyFieldName()
Gets affinity key field name.
|
String |
getTypeName()
Sets type name for which affinity field name is being defined.
|
int |
hashCode() |
CacheKeyConfiguration |
setAffinityKeyFieldName(String affKeyFieldName)
Sets affinity key field name.
|
CacheKeyConfiguration |
setTypeName(String typeName) |
String |
toString() |
public CacheKeyConfiguration()
public CacheKeyConfiguration(Class keyCls)
keyCls
- Key class.public String getTypeName()
public CacheKeyConfiguration setTypeName(String typeName)
typeName
- Type name for which affinity field name is being defined.this
for chaining.public String getAffinityKeyFieldName()
public CacheKeyConfiguration setAffinityKeyFieldName(String affKeyFieldName)
affKeyFieldName
- Affinity key field name.this
for chaining.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023