Class: CacheKeyConfiguration

CacheKeyConfiguration(typeNameopt, affinityKeyFieldNameopt)

Class representing Cache Key part of Ignite CacheConfiguration.

All configuration settings are optional and have defaults which are defined on a server side.

See Apache Ignite documentation for details of every configuration setting.

Constructor

new CacheKeyConfiguration(typeNameopt, affinityKeyFieldNameopt)

Public constructor.

Parameters:
Name Type Attributes Default Description
typeName string <optional>
null
affinityKeyFieldName string <optional>
null
Source:

Methods

getAffinityKeyFieldName() → {string}

Source:
Returns:
Type
string

getTypeName() → {string}

Source:
Returns:
Type
string

setAffinityKeyFieldName(affinityKeyFieldName) → {CacheKeyConfiguration}

Parameters:
Name Type Description
affinityKeyFieldName string
Source:
Returns:
  • the same instance of the CacheKeyConfiguration.
Type
CacheKeyConfiguration

setTypeName(typeName) → {CacheKeyConfiguration}

Parameters:
Name Type Description
typeName string
Source:
Returns:
  • the same instance of the CacheKeyConfiguration.
Type
CacheKeyConfiguration