Search Results for

Show / Hide Table of Contents

# Namespace Apache.Ignite.Core.Client

### Classes

#### ClientRetryAllPolicy

Retry policy that always returns `true`.

#### ClientRetryReadPolicy

Retry policy that returns true for all read-only operations that do not modify data.

#### IgniteClientConfiguration

Ignite thin client configuration.

Ignite thin client connects to a specific Ignite node with a socket and does not start JVM in process. This configuration should correspond to ClientConnectorConfiguration on a target node.

#### IgniteClientConfigurationSection

Ignite configuration section for app.config and web.config files.

#### IgniteClientException

Ignite thin client exception.

#### SslStreamFactory

Predefined SSL stream factory, loads certificate from specified file.

### Interfaces

#### IClientCluster

Represents whole cluster (group of all nodes in a cluster).

#### IClientClusterGroup

Defines grid projection which represents a common functionality over a group of nodes. Grid projection allows to group Ignite nodes into various subgroups to perform distributed operations on them. All ForXXX(...)' methods will create a child grid projection from existing projection. If you create a new projection from current one, then the resulting projection will include a subset of nodes from current projection. The following code snippet shows how to create grid projections:

    var g = Ignition.StartClient().GetCluster();

    // Projection over .NET nodes.
    var remoteNodes = g.ForDotNet();

    // Projection over server nodes.
    var randomNode = g.ForServers();

    // Projection over all nodes that have user attribute "group" set to value "worker".
    var workerNodes = g.ForAttribute("group", "worker");

#### IClientClusterNode

Interface representing a single cluster node obtained through a thin client. You can get a list of all nodes in grid by calling GetNodes().

You can use Ignite node attributes to provide static information about a node. This information is initialized once within grid, during node startup, and remains the same throughout the lifetime of a node.

All members are thread-safe and may be used concurrently from multiple threads.

#### IClientConnection

Represents Ignite client connection.

#### IClientRetryPolicy

Client retry policy determines whether client operations that have failed due to a connection issue should be retried.

#### IClientRetryPolicyContext

Retry policy context. See ShouldRetry(IClientRetryPolicyContext).

#### IIgniteClient

Main entry point for Ignite Thin Client APIs. You can obtain an instance of IIgniteClient through one of the StartClient() overloads.

Instances of this class and all nested APIs are thread safe.

#### ISslStreamFactory

SSL Stream Factory defines how SSL connection is established.

### Enums

#### ClientOperationType

Client operation type.

#### ClientStatusCode

Client status codes (see StatusCode).