Interface IServiceContext
Represents service execution context.
Namespace: Apache.Ignite.Core.Services
Assembly: Apache.Ignite.Core.dll
Syntax
public interface IServiceContext
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. |
ExecutionId
Gets service execution ID. Execution ID is guaranteed to be unique across all service deployments.
Declaration
Guid ExecutionId { get; }
Property Value
Type | Description |
---|---|
System.Guid | Service execution ID. |
IsCancelled
Get flag indicating whether service has been cancelled or not.
Declaration
bool IsCancelled { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Flag indicating whether service has been cancelled or not. |
Name
Gets service name.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String | Service name. |