Show / Hide Table of Contents

    Interface IIgniteClient

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

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: Apache.Ignite.Core.Client
    Assembly: Apache.Ignite.Core.dll
    Syntax
    public interface IIgniteClient : IDisposable

    Methods

    GetCache<TK, TV>(String)

    Gets the cache instance for the given name to work with keys and values of specified types.

    You can get instances of ICacheClient<TK, TV> of the same name, but with different key/value types. These will use the same named cache, but only allow working with entries of specified types. Attempt to retrieve an entry of incompatible type will result in System.InvalidCastException. Use GetCache<TK, TV>(String) in order to work with entries of arbitrary types.

    Declaration
    ICacheClient<TK, TV> GetCache<TK, TV>(string name)
    Parameters
    Type Name Description
    System.String name

    Cache name.

    Returns
    Type Description
    ICacheClient<TK, TV>

    Cache instance for given name.

    Type Parameters
    Name Description
    TK

    Cache key type.

    TV

    Cache value type.

    Back to top © 2015 - 2017 The Apache Software Foundation