Search Results for

Show / Hide Table of Contents

# Interface IServiceDescriptor

Service deployment descriptor.

###### Namespace: Apache.Ignite.Core.Services

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

##### Syntax

    public interface IServiceDescriptor

### Properties

#### AffinityKey

Gets affinity key used for key-to-node affinity calculation. This parameter is optional and is set only when key-affinity service was deployed.

##### Declaration

    object AffinityKey { get; }

##### Property Value

Type | Description
--- | ---
System.Object | Affinity key, possibly null.

#### CacheName

Gets cache name used for key-to-node affinity calculation. This parameter is optional and is set only when key-affinity service was deployed.

##### Declaration

    string CacheName { get; }

##### Property Value

Type | Description
--- | ---
System.String | Cache name, possibly null.

#### MaxPerNodeCount

Gets maximum allowed number of deployed services on each node, 0 for unlimited.

##### Declaration

    int MaxPerNodeCount { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 | Maximum allowed total number of deployed services on each node, 0 for unlimited.

#### Name

Gets service name.

##### Declaration

    string Name { get; }

##### Property Value

Type | Description
--- | ---
System.String | Service name.

#### OriginNodeId

Gets affinity key used for key-to-node affinity calculation. This parameter is optional and is set only when key-affinity service was deployed.

##### Declaration

    Guid OriginNodeId { get; }

##### Property Value

Type | Description
--- | ---
Guid | Affinity key, possibly null.

#### TopologySnapshot

Gets service deployment topology snapshot. Service topology snapshot is represented by number of service instances deployed on a node mapped to node ID.

##### Declaration

    IDictionary<Guid, int> TopologySnapshot { get; }

##### Property Value

Type | Description
--- | ---
IDictionary<Guid, System.Int32> | Map of number of service instances per node ID.

#### TotalCount

Gets maximum allowed total number of deployed services in the grid, 0 for unlimited.

##### Declaration

    int TotalCount { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 | Maximum allowed total number of deployed services in the grid, 0 for unlimited.

#### Type

Gets the service type.

##### Declaration

    Type Type { get; }

##### Property Value

Type | Description
--- | ---
Type | Service type.