Class ServiceConfiguration
Service configuration.
Inheritance
System.Object
ServiceConfiguration
Namespace: Apache.Ignite.Core.Services
Assembly: Apache.Ignite.Core.dll
Syntax
public class ServiceConfiguration : object
Constructors
ServiceConfiguration()
Default constructor
Declaration
public ServiceConfiguration()
Properties
AffinityKey
Gets or sets affinity key used for key-to-node affinity calculation.
Declaration
public object AffinityKey { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
CacheName
Gets or sets cache name used for key-to-node affinity calculation.
Declaration
public string CacheName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Interceptors
Gets or sets service call interceptors.
Declaration
public ICollection<IServiceCallInterceptor> Interceptors { get; set; }
Property Value
Type | Description |
---|---|
ICollection<IServiceCallInterceptor> |
MaxPerNodeCount
Gets or sets maximum number of deployed service instances on each node, 0 for unlimited.
Declaration
public int MaxPerNodeCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Gets or sets the service name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NodeFilter
Gets or sets node filter used to filter nodes on which the service will be deployed.
Declaration
public IClusterNodeFilter NodeFilter { get; set; }
Property Value
Type | Description |
---|---|
IClusterNodeFilter |
Service
Gets or sets the service instance.
Declaration
public IService Service { get; set; }
Property Value
Type | Description |
---|---|
IService |
StatisticsEnabled
Enables or disables service statistics. NOTE: Service statistics work only via service proxies. GetServiceProxy<T>(String)
Declaration
public bool StatisticsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TotalCount
Gets or sets the total number of deployed service instances in the cluster, 0 for unlimited.
Declaration
public int TotalCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |