Search Results for

Show / Hide Table of Contents

# Class CacheKeyConfiguration

Configuration defining various aspects of cache keys without explicit usage of annotations on user classes.

##### Inheritance

System.Object
CacheKeyConfiguration

###### Namespace: Apache.Ignite.Core.Cache.Configuration

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public sealed class CacheKeyConfiguration : object, IBinaryRawWriteAware, IBinaryRawWriteAware<IBinaryRawWriter>

### Constructors

#### CacheKeyConfiguration()

Initializes a new instance of the CacheKeyConfiguration class.

##### Declaration

    public CacheKeyConfiguration()

#### CacheKeyConfiguration(Type)

Initializes a new instance of the CacheKeyConfiguration class, using specified type to look for AffinityKeyMappedAttribute.

##### Declaration

    public CacheKeyConfiguration(Type keyType)

##### Parameters

Type | Name | Description
--- | --- | ---
Type | keyType |

### Properties

#### AffinityKeyFieldName

Gets or sets the name of the affinity key field. See also AffinityKeyMappedAttribute, AffinityKeyFieldName.

##### Declaration

    public string AffinityKeyFieldName { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

#### TypeName

Gets or sets the name of the key type.

##### Declaration

    public string TypeName { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |