Interface IServicesClient
Ignite distributed services client.
Namespace: Apache.Ignite.Core.Client.Services
Assembly: Apache.Ignite.Core.dll
Syntax
public interface IServicesClient
Properties
ClusterGroup
Gets the cluster group for this IServicesClient instance.
Declaration
IClientClusterGroup ClusterGroup { get; }
Property Value
Type | Description |
---|---|
IClientClusterGroup |
Methods
GetServiceDescriptor(String)
Gets metadata about service deployed in the grid.
Declaration
IClientServiceDescriptor GetServiceDescriptor(string serviceName)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceName | Service name. |
Returns
Type | Description |
---|---|
IClientServiceDescriptor | Metadata about all deployed services in the grid. |
GetServiceDescriptors()
Gets metadata about all deployed services in the grid.
Declaration
ICollection<IClientServiceDescriptor> GetServiceDescriptors()
Returns
Type | Description |
---|---|
ICollection<IClientServiceDescriptor> | Metadata about all deployed services in the grid. |
GetServiceProxy<T>(String)
Gets a proxy for the service with the specified name.
Note: service proxies are not "sticky" - there is no guarantee that all calls will be made to the same remote service instance.
Declaration
T GetServiceProxy<T>(string serviceName)
where T : class
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceName | Service name. |
Returns
Type | Description |
---|---|
T | Proxy object that forwards all member calls to a remote Ignite service. |
Type Parameters
Name | Description |
---|---|
T | Service type. |
WithKeepBinary()
Returns an instance with binary mode enabled. Service method results will be kept in binary form.
Declaration
IServicesClient WithKeepBinary()
Returns
Type | Description |
---|---|
IServicesClient | Instance with binary mode enabled. |
WithServerKeepBinary()
Returns an instance with server-side binary mode enabled. Service method arguments will be kept in binary form.
Declaration
IServicesClient WithServerKeepBinary()
Returns
Type | Description |
---|---|
IServicesClient | Instance with server-side binary mode enabled. |